[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v4 10/19] migration: Clean up includes
From: |
Dr. David Alan Gilbert |
Subject: |
Re: [PATCH v4 10/19] migration: Clean up includes |
Date: |
Thu, 19 Jan 2023 11:45:36 +0000 |
User-agent: |
Mutt/2.2.9 (2022-11-12) |
* Markus Armbruster (armbru@redhat.com) wrote:
> "Dr. David Alan Gilbert" <dgilbert@redhat.com> writes:
>
> > * Markus Armbruster (armbru@redhat.com) wrote:
> >> Clean up includes so that osdep.h is included first and headers
> >> which it implies are not included manually.
> >
> > That change doesn't seem to match the message; the patch is removing the
> > osdep.h include.
>
> It's the commit message scripts/clean-includes creates :)
>
> I can throw in another patch to the script so it mentions it also
> removes qemu/osdep.h from headers.
Oh hmm it would be clearer; but OK then, so
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
> >> This commit was created with scripts/clean-includes.
> >>
> >> Signed-off-by: Markus Armbruster <armbru@redhat.com>
> >> ---
> >> include/qemu/userfaultfd.h | 1 -
> >> 1 file changed, 1 deletion(-)
> >>
> >> diff --git a/include/qemu/userfaultfd.h b/include/qemu/userfaultfd.h
> >> index 6b74f92792..55c95998e8 100644
> >> --- a/include/qemu/userfaultfd.h
> >> +++ b/include/qemu/userfaultfd.h
> >> @@ -13,7 +13,6 @@
> >> #ifndef USERFAULTFD_H
> >> #define USERFAULTFD_H
> >>
> >> -#include "qemu/osdep.h"
> >> #include "exec/hwaddr.h"
> >> #include <linux/userfaultfd.h>
> >>
> >> --
> >> 2.39.0
> >>
>
--
Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK
- [PATCH v4 19/19] Drop duplicate #include, (continued)
[PATCH v4 03/19] scripts/clean-includes: Skip symbolic links, Markus Armbruster, 2023/01/19
[PATCH v4 05/19] crypto: Clean up includes, Markus Armbruster, 2023/01/19
[PATCH v4 18/19] 9p: Drop superfluous include of linux/limits.h, Markus Armbruster, 2023/01/19