qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 02/10] hyperv: Clean up includes


From: Richard Henderson
Subject: Re: [PATCH 02/10] hyperv: Clean up includes
Date: Sat, 27 Jan 2024 15:04:16 +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 hyperv hw/hyperv/*.[ch]

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>
---
  hw/hyperv/hv-balloon-internal.h           | 1 -
  hw/hyperv/hv-balloon-our_range_memslots.h | 1 -
  hw/hyperv/hv-balloon-page_range_tree.h    | 1 -
  hw/hyperv/hv-balloon-our_range_memslots.c | 1 +
  hw/hyperv/hv-balloon-page_range_tree.c    | 1 +
  hw/hyperv/hv-balloon.c                    | 1 +
  6 files changed, 3 insertions(+), 3 deletions(-)

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

r~



reply via email to

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