xen: Clean up includes
PATCH 1/1 xen: Clean up includes
Clean up includes so that osdep.h is included first and headers which it implies are not included manually.
This commit was created with scripts/clean-includes.
--- hw/usb/xen-usb.c | 5 +---- include/hw/xen/xen.h | 1 - 2 files changed, 1 insertion(+), 5 deletions(-)
hw/usb/xen-usb.c +1 -4
@@ -19,13 +19,10 @@* GNU GPL, version 2 or (at your option) any later version. */ +#include "qemu/osdep.h" #include <libusb.h> -#include <stdio.h> -#include <sys/types.h> #include <sys/mman.h> -#include <sys/time.h> -#include "qemu/osdep.h" #include "qemu-common.h" #include "qemu/config-file.h" #include "hw/sysbus.h"
include/hw/xen/xen.h +0 -1
@@ -8,7 +8,6 @@*/ #include "qemu-common.h" -#include "qemu/typedefs.h" #include "exec/cpu-common.h" #include "hw/irq.h"
Signature · 7 lines
1.9.1 _______________________________________________ Xen-devel mailing list [email protected] http://lists.xen.org/xen-devel
Quoted 11 lines · Peter Maydell
Clean up includes so that
osdep.his included first and headers which it implies are not included manually.This commit was created with
scripts/clean-includes.Signed-off-by Peter Maydell <[email protected]>--- hw/usb/xen-usb.c | 5 +---- include/hw/xen/xen.h | 1 - 2 files changed, 1 insertion(+), 5 deletions(-)
Signature · 2 lines
Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
Quoted 6 lines · Peter Maydell
Clean up includes so that
osdep.his included first and headers which it implies are not included manually.This commit was created with
scripts/clean-includes.Signed-off-by Peter Maydell <[email protected]>
Signature · 1 line
Anthony PERARD
Quoted 6 lines · Peter Maydell
Clean up includes so that
osdep.his included first and headers which it implies are not included manually.This commit was created with
scripts/clean-includes.Signed-off-by Peter Maydell <[email protected]>
Added to my queue
Quoted 44 lines
hw/usb/xen-usb.c | 5 +---- include/hw/xen/xen.h | 1 - 2 files changed, 1 insertion(+), 5 deletions(-)hw/usb/xen-usb.c +1
-4@@ -19,13 +19,10 @@* GNU GPL, version 2 or (at your option) any later version. */ +#include "qemu/osdep.h" #include <libusb.h> -#include <stdio.h> -#include <sys/types.h> #include <sys/mman.h> -#include <sys/time.h> -#include "qemu/osdep.h" #include "qemu-common.h" #include "qemu/config-file.h" #include "hw/sysbus.h" include/hw/xen/xen.h +0
-1@@ -8,7 +8,6 @@*/ #include "qemu-common.h" -#include "qemu/typedefs.h" #include "exec/cpu-common.h" #include "hw/irq.h" Signature · 7 lines
1.9.1 _______________________________________________ Xen-devel mailing list [email protected] http://lists.xen.org/xen-devel
Quoted 11 lines · Stefano Stabellini
Quoted 6 lines · Peter Maydell
Clean up includes so that
osdep.his included first and headers which it implies are not included manually.This commit was created with
scripts/clean-includes.Signed-off-by Peter Maydell <[email protected]>Reviewed-by Stefano Stabellini <[email protected]>Added to my queue
Hi; did this patch get lost? You've done a xen pullreq since this but this patch wasn't in it.
thanks
-- PMM
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 7 lines · Peter Maydell
Quoted 6 lines · Stefano Stabellini
Quoted 5 lines · Peter Maydell
Clean up includes so that
osdep.his included first and headers which it implies are not included manually.This commit was created with
scripts/clean-includes.
Quoted 8 lines
Quoted 5 lines
Quoted 1 line
Signed-off-by Peter Maydell <[email protected]>Reviewed-by Stefano Stabellini <[email protected]>Added to my queue
Hi; did this patch get lost? You've done a xen pullreq since this but this patch wasn't in it.
I didn't lose it, I thought you had already committed it as 21cbfe5f37aaa3a13d3af28454e762c05be67429, but I realize now that although they have the same commit message, they are not the same patch.
I was wondering how it got upstream given that I didn't send a pull request for it. Mystery solved. Next time it might be good to avoid having multiple patches touching similar code with exactly the same commit description.
I'll send another pull request today.
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 8 lines · Stefano Stabellini
I didn't lose it, I thought you had already committed it as
21cbfe5f37aaa3a13d3af28454e762c05be67429, but I realize now that although they have the same commit message, they are not the same patch.I was wondering how it got upstream given that I didn't send a pull request for it. Mystery solved. Next time it might be good to avoid having multiple patches touching similar code with exactly the same commit description.
Mmm, unfortunate side effect of the commit message being automatically created by the clean-includes script.
-- PMM
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel