include cleanups
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest20 patches 24 repliesIn review
- v167 patches 68 repliesSuperseded
Changes in v2 from the cover letter
drop patches not dealing with local headers
stop saying include through root works by accident -
it's not by accident, just not how we'd like code to look like
address comments by eric, philip, others
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/20 | block: use local path for local headersblock/ block/ block/ +8 more | +12 | 2 replies | |
| 2/20 | crypto: use local path for local headerscrypto/ crypto/ crypto/ +13 more | +23 | 2 replies | |
| 3/20 | hppa: use local path for local headershw/ hw/ | +2 | 0 replies | |
| 4/20 | migration: drop an unused includeinclude/ migration/ | +2 | 1 reply | |
| 5/20 | trace: use local path for local headerstrace/ | +1 | 2 replies | |
| 6/20 | display: use local path for local headershw/ | +1 | 0 replies | |
| 7/20 | ide: use local path for local headershw/ hw/ hw/ | +3 | 1 reply | |
| 8/20 | ioapic: fix up includeshw/ | +1 | 1 reply | |
| 9/20 | e1000e: use local path for local headershw/ | +1 | 1 reply | |
| 10/20 | rocker: drop an unused includehw/ | +0 | 1 reply | |
| 11/20 | ppc: use local path for local headershw/ hw/ | +3 | 1 reply | |
| 12/20 | vhost-scsi: drop an unused includehw/ | +0 | 1 reply | |
| 13/20 | sd: fix up includehw/ | +1 | 1 reply | |
| 14/20 | usb: use local path for local headershw/ hw/ hw/ +10 more | +13 | 1 reply | |
| 15/20 | migration: use local path for local headersmigration/ migration/ migration/ +1 more | +5 | 4 replies | |
| 16/20 | colo: use local path for local headersnet/ net/ net/ | +3 | 1 reply | |
| 17/20 | qga: use local path for local headersqga/ qga/ qga/ +5 more | +13 | 0 replies | |
| 18/20 | trace: use local path for local headerstrace/ | +1 | 1 reply | |
| 19/20 | ui: use local path for local headersui/ ui/ ui/ +1 more | +4 | 0 replies | |
| 20/20 | arch_init: sort architecturesarch_init.c | +8 | 1 reply |
Reviews trailers per patch
All 20 patches have a Reviewed-by or Acked-by.
| Patch | Philippe Mathieu-Daudé | Stefan Hajnoczi | David Gibson | Zhang Chen | Juan Quintela | Eric Blake | Laszlo Ersek | Daniel P. Berrangé |
|---|---|---|---|---|---|---|---|---|
| 1/20 | R-b T-b | R-b | ||||||
| 2/20 | R-b T-b | A-b | ||||||
| 3/20 | R-b T-b | |||||||
| 4/20 | R-b | |||||||
| 5/20 | R-b T-b R-b T-b | R-b R-b | ||||||
| 6/20 | R-b T-b | |||||||
| 7/20 | R-b T-b | |||||||
| 8/20 | R-b T-b | |||||||
| 9/20 | R-b T-b | |||||||
| 10/20 | R-b T-b | |||||||
| 11/20 | R-b T-b | A-b | ||||||
| 12/20 | R-b T-b | |||||||
| 13/20 | R-b T-b | |||||||
| 14/20 | R-b T-b | |||||||
| 15/20 | R-b | |||||||
| 16/20 | R-b T-b | R-b | ||||||
| 17/20 | R-b | |||||||
| 18/20 | R-b T-b | |||||||
| 19/20 | R-b | |||||||
| 20/20 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 8 reviewers.
Cover letter [Qemu-devel] [PATCH v2 00/20] include cleanups
Right now, a local header can be included with either
#include "foo.h"
or
#include "dir/foo.h"
since the later doesn't tell you where the header is (in source or include directory), the former is preferable.
I intend to look for ways to prevent the second way from working, but that will take time. For now, fix all instances for the later way I could find.
In a couple of places I just dropped the include instead.
Finally, arch_init huge list of includes is sorted, which will be helpful in future cleanups.
This was part of the include path cleanup patchset
(https://lists.gnu.org/archive/html/qemu-devel/2018-05/msg00739.html).
Changes from v1
drop patches not dealing with local headers
stop saying include through root works by accident -
it's not by accident, just not how we'd like code to look like
address comments by eric, philip, others
Michael S. Tsirkin (20):
block: use local path for local headers
crypto: use local path for local headers
hppa: use local path for local headers
migration: drop an unused include
trace: use local path for local headers
display: use local path for local headers
ide: use local path for local headers
ioapic: fix up includes
e1000e: use local path for local headers
rocker: drop an unused include
ppc: use local path for local headers
vhost-scsi: drop an unused include
sd: fix up include
usb: use local path for local headers
migration: use local path for local headers
colo: use local path for local headers
qga: use local path for local headers
trace: use local path for local headers
ui: use local path for local headers
arch_init: sort architectures
crypto/block-luks.h | 2 +- crypto/block-qcow.h | 2 +- crypto/ivgen-essiv.h | 2 +- crypto/ivgen-plain.h | 2 +- crypto/ivgen-plain64.h | 2 +- hw/hppa/hppa_sys.h | 2 +- include/migration/vmstate.h | 2 +- trace/control.h | 2 +- arch_init.c | 16 ++++++++-------- block/crypto.c | 2 +- block/nbd.c | 2 +- block/qcow.c | 2 +- block/qcow2-bitmap.c | 2 +- block/qcow2-cluster.c | 2 +- block/qcow2-refcount.c | 2 +- block/qcow2-snapshot.c | 2 +- block/qcow2.c | 4 ++-- block/vhdx-endian.c | 2 +- block/vhdx-log.c | 2 +- block/vhdx.c | 2 +- crypto/block-luks.c | 2 +- crypto/block-qcow.c | 2 +- crypto/block.c | 6 +++--- crypto/cipher.c | 6 +++--- crypto/ivgen-essiv.c | 2 +- crypto/ivgen-plain.c | 2 +- crypto/ivgen-plain64.c | 2 +- crypto/ivgen.c | 8 ++++---- crypto/tlscreds.c | 2 +- crypto/tlscredsanon.c | 2 +- crypto/tlscredsx509.c | 2 +- hw/display/bcm2835_fb.c | 2 +- hw/hppa/machine.c | 2 +- hw/ide/ahci-allwinner.c | 2 +- hw/ide/ahci.c | 2 +- hw/ide/ich.c | 2 +- hw/intc/ioapic.c | 3 +-- hw/net/e1000e.c | 2 +- hw/net/rocker/rocker_fp.c | 1 - hw/ppc/ppc440_uc.c | 2 +- hw/ppc/sam460ex.c | 4 ++-- hw/scsi/vhost-scsi-common.c | 1 - hw/sd/milkymist-memcard.c | 2 +- hw/usb/desc-msos.c | 2 +- hw/usb/desc.c | 2 +- hw/usb/dev-audio.c | 2 +- hw/usb/dev-bluetooth.c | 2 +- hw/usb/dev-hid.c | 2 +- hw/usb/dev-hub.c | 2 +- hw/usb/dev-mtp.c | 2 +- hw/usb/dev-network.c | 2 +- hw/usb/dev-serial.c | 2 +- hw/usb/dev-smartcard-reader.c | 2 +- hw/usb/dev-storage.c | 2 +- hw/usb/dev-uas.c | 2 +- hw/usb/dev-wacom.c | 2 +- migration/block-dirty-bitmap.c | 2 +- migration/page_cache.c | 2 +- migration/ram.c | 4 ++-- migration/savevm.c | 1 + migration/vmstate.c | 2 +- net/colo-compare.c | 2 +- net/colo.c | 2 +- net/filter-rewriter.c | 2 +- qga/channel-posix.c | 2 +- qga/channel-win32.c | 4 ++-- qga/commands-posix.c | 2 +- qga/commands-win32.c | 4 ++-- qga/commands.c | 2 +- qga/guest-agent-command-state.c | 2 +- qga/main.c | 4 ++-- qga/vss-win32.c | 6 +++--- trace/qmp.c | 2 +- ui/gtk.c | 2 +- ui/input-keymap.c | 2 +- ui/input-legacy.c | 2 +- ui/spice-input.c | 2 +- 77 files changed, 97 insertions(+), 99 deletions(-)
Signature · 1 line
MST