[PATCH v2 19/22] net: Include string.h in net-legacy.h
Jerome Forissier
jerome.forissier at linaro.org
Mon May 5 14:38:41 CEST 2025
On 5/1/25 03:04, Simon Glass wrote:
> This file uses memcpy() but does not include the header file. Update it.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> (no changes since v1)
>
> include/net-legacy.h | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/include/net-legacy.h b/include/net-legacy.h
> index 1f62ebff51d..a43ab9db589 100644
> --- a/include/net-legacy.h
> +++ b/include/net-legacy.h
> @@ -17,6 +17,7 @@
> #include <log.h>
> #include <time.h>
> #include <linux/if_ether.h>
> +#include <linux/string.h>
>
> struct bd_info;
> struct cmd_tbl;
Reviewed-by: Jerome Forissier <jerome.forissier at linaro.org>
Thanks,
--
Jerome
More information about the U-Boot
mailing list