[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v4 0/2] Script changes to find duplicate #includ
From: |
Michael Tokarev |
Subject: |
Re: [Qemu-devel] [PATCH v4 0/2] Script changes to find duplicate #include entries |
Date: |
Fri, 28 Oct 2016 17:32:20 +0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.4.0 |
21.10.2016 09:57, Anand J wrote:
> There were some files in the code base with multiple inclusion of the same
> header files.
> Following changes are made to mitigate this issue.
>
> 1) --check-dup-head option is added to the scripts/clean-includes to search
> files and
> find out such entries. This will help to catch redundant #includes in the
> future.
> 2) Removed most of the duplicate entries currently present in the code base
> using the
> script.
>
> Anand J (2):
> scripts/clean-includes: added duplicate #include check
> clean-up: removed duplicate #includes
Applied both to -trivial, thank you!
/mjt