diff options
| author | Tom Rini <[email protected]> | 2025-05-29 08:29:24 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2025-05-29 08:29:24 -0600 |
| commit | e50dbb3a0a31e6c41a752605e136c09df98d8800 (patch) | |
| tree | 12701d8efa45cfa3eb803f8ba7bf53d531f0a0ae /cmd/stackprot_test.c | |
| parent | 23be77e18d19ddb9c2ecdf71638bacfbc369fd13 (diff) | |
| parent | 1e50f7457fcaaba2caf642132cf4f00f1eba29a9 (diff) | |
Merge patch series "Start removing <env.h> from headers when not required"
Tom Rini <[email protected]> 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/[email protected]
Diffstat (limited to 'cmd/stackprot_test.c')
| -rw-r--r-- | cmd/stackprot_test.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/stackprot_test.c b/cmd/stackprot_test.c index e7ff4a06158..78e9beba5bf 100644 --- a/cmd/stackprot_test.c +++ b/cmd/stackprot_test.c @@ -4,6 +4,7 @@ */ #include <command.h> +#include <linux/string.h> static int do_test_stackprot_fail(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]) |
