]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
Merge patch series "Start removing <env.h> from headers when not required"
authorTom Rini <trini@konsulko.com>
Thu, 29 May 2025 14:29:24 +0000 (08:29 -0600)
committerTom Rini <trini@konsulko.com>
Thu, 29 May 2025 14:29:24 +0000 (08:29 -0600)
Tom Rini <trini@konsulko.com> says:

Given Simon's series at [1] I started looking in to what brings in
<env.h> when not strictly required and in turn has some unintended
implicit includes. This series takes care of the places where, commonly,
<linux/string.h> or <env.h> itself were required along with a few other
less common cases. This sets aside for the moment what to do about
net-common.h and env_get_ip() as I'm not entirely sure what's best
there.

[1]: https://patchwork.ozlabs.org/project/uboot/list/?series=454939&state=*
Link: https://lore.kernel.org/r/20250514225002.15361-1-trini@konsulko.com
1  2 
cmd/booti.c
cmd/test.c

diff --cc cmd/booti.c
Simple merge
diff --cc cmd/test.c
index a42a523d33dedd6e1596935d91692fd52cfa6c03,4774d296487496b437c3898b550fc513a9b621e4..a9ac07e6143559247163cf79840ba0da0dfcda12
@@@ -7,8 -7,8 +7,9 @@@
  #include <command.h>
  #include <fs.h>
  #include <log.h>
 +#include <slre.h>
  #include <vsprintf.h>
+ #include <linux/string.h>
  
  #define OP_INVALID    0
  #define OP_NOT                1