[PATCH 09/14] pxe: Refactor to reduce the size of label_boot()

Tom Rini trini at konsulko.com
Sat Dec 9 19:39:35 CET 2023


On Sun, Dec 03, 2023 at 05:31:33PM -0700, Simon Glass wrote:

> This function is far too long and complicated. Split out the part
> which actually calls the boot commands into a separate function.
> 
> Change a strncpy() to strlcpy() to keep checkpatch happy.
> 
> No functional change is intended.
> 
> Signed-off-by: Simon Glass <sjg at chromium.org>

Please split strncpy -> strlcpy in to its own patch so it can be
reviewed easily, thanks.

-- 
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/20231209/55cde634/attachment.sig>


More information about the U-Boot mailing list