qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 05/10] acpi: Clean up includes


From: Richard Henderson
Subject: Re: [PATCH 05/10] acpi: Clean up includes
Date: Sat, 27 Jan 2024 15:06:52 +1000
User-agent: Mozilla Thunderbird

On 1/26/24 02:34, Peter Maydell wrote:
This commit was created with scripts/clean-includes:
  ./scripts/clean-includes --git acpi include/hw/*/*acpi.h hw/*/*acpi.c

All .c should include qemu/osdep.h first.  The script performs three
related cleanups:

* Ensure .c files include qemu/osdep.h first.
* Including it in a .h is redundant, since the .c  already includes
   it.  Drop such inclusions.
* Likewise, including headers qemu/osdep.h includes is redundant.
   Drop these, too.

Signed-off-by: Peter Maydell<peter.maydell@linaro.org>
---
  include/hw/nvram/fw_cfg_acpi.h  | 1 -
  include/hw/virtio/virtio-acpi.h | 1 -
  hw/nvram/fw_cfg-acpi.c          | 1 +
  hw/virtio/virtio-acpi.c         | 1 +
  4 files changed, 2 insertions(+), 2 deletions(-)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]