All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/9] hw/core: Cleanup and reorder headers
@ 2024-01-16  7:46 Zhao Liu
  2024-01-16  7:46 ` [PATCH v2 1/9] MAINTAINERS: Update hw/core/cpu.c entry Zhao Liu
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: Zhao Liu @ 2024-01-16  7:46 UTC (permalink / raw)
  To: Eduardo Habkost, Marcel Apfelbaum, Philippe Mathieu-Daudé,
	Yanan Wang, Peter Maydell
  Cc: qemu-devel, Zhao Liu

From: Zhao Liu <zhao1.liu@intel.com>

Identify unused headers by full compilation (tested by "./configure" and
then "make") and manually checking if it is a direct inclusion.

Then reorder headers in alphabetical order.

In addition, update a file entry in MAINTAINERS file.

---
Changelog:

v1: Per Peter and Philippe's comments in v1, keep directly included
    headers to avoid implicit header inclusions [1].

[1]: https://lore.kernel.org/qemu-devel/06d4179f-76b8-42f0-b147-f4bc2d1f06bd@linaro.org/#t

---
Zhao Liu (9):
  MAINTAINERS: Update hw/core/cpu.c entry
  hw/core: Cleanup unused included headers in cpu-common.c
  hw/core: Reorder included headers in cpu-common.c
  hw/core: Reorder included headers in cpu-sysemu.c
  hw/core: Cleanup unused included header in machine-qmp-cmds.c
  hw/core: Reorder included header in machine.c
  hw/core: Reorder included headers in null-machine.c
  hw/core: Cleanup unused included headers in numa.c
  hw/core: Reorder included headers in numa.c

 MAINTAINERS                |  3 ++-
 hw/core/cpu-common.c       | 17 +++++++----------
 hw/core/cpu-sysemu.c       |  3 ++-
 hw/core/machine-qmp-cmds.c |  2 +-
 hw/core/machine.c          | 21 +++++++++++----------
 hw/core/null-machine.c     |  5 +++--
 hw/core/numa.c             | 22 ++++++++++------------
 7 files changed, 36 insertions(+), 37 deletions(-)

-- 
2.34.1



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2024-01-29  9:23 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-16  7:46 [PATCH v2 0/9] hw/core: Cleanup and reorder headers Zhao Liu
2024-01-16  7:46 ` [PATCH v2 1/9] MAINTAINERS: Update hw/core/cpu.c entry Zhao Liu
2024-01-16  7:46 ` [PATCH v2 2/9] hw/core: Cleanup unused included headers in cpu-common.c Zhao Liu
2024-01-16  7:46 ` [PATCH v2 3/9] hw/core: Reorder " Zhao Liu
2024-01-16  7:46 ` [PATCH v2 4/9] hw/core: Reorder included headers in cpu-sysemu.c Zhao Liu
2024-01-16  7:46 ` [PATCH v2 5/9] hw/core: Cleanup unused included header in machine-qmp-cmds.c Zhao Liu
2024-01-16  7:46 ` [PATCH v2 6/9] hw/core: Reorder included header in machine.c Zhao Liu
2024-01-16  7:46 ` [PATCH v2 7/9] hw/core: Reorder included headers in null-machine.c Zhao Liu
2024-01-16  7:46 ` [PATCH v2 8/9] hw/core: Cleanup unused included headers in numa.c Zhao Liu
2024-01-16  7:46 ` [PATCH v2 9/9] hw/core: Reorder " Zhao Liu
2024-01-29  9:35 ` [PATCH v2 0/9] hw/core: Cleanup and reorder headers Zhao Liu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.