[PATCH 0/3] common: Remove a few more header files

Tom Rini trini at konsulko.com
Mon Sep 25 16:08:38 CEST 2023


On Sun, Sep 24, 2023 at 08:39:49PM -0600, Simon Glass wrote:

> This series removes two more header files from the common.h header. It
> also tidies up code style for time.h functions, to simplify similar
> maintenance in future.
> 
> 
> Simon Glass (3):
>   Fix code style for time functions
>   common: Drop time.h from common header
>   common: Drop linux/string.h from common header
[snip]
>  1709 files changed, 1854 insertions(+), 34 deletions(-)

This is where I start to get worried we're possibly taking the wrong
approach to the problem.  Perhaps it would be better to:
1. Start finding headers which include <common.h>, remove and fixup the
breakage directly.
2. Move on to removing <common.h> from files, a directory at a time.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20230925/b11a2460/attachment.sig>


More information about the U-Boot mailing list