[PATCH] fw_env: rename variables holding env data content

Tom Rini trini at konsulko.com
Sat Jan 6 18:41:19 CET 2024


On Wed, Dec 13, 2023 at 10:23:44AM +0100, Rafał Miłecki wrote:

> From: Rafał Miłecki <rafal at milecki.pl>
> 
> Rename "addr0" and "addr1" to "buf0" and "buf1" accordingly. Name "addr"
> suggests that variable contains a numeric value being some kind of
> address. Name "buf" is de facto a standard name for pointer to allocated
> memory for reading data to.
> 
> While at it drop redundant checks for NULL before calling free().
> 
> Signed-off-by: Rafał Miłecki <rafal at milecki.pl>

Applied to u-boot/next, 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/20240106/8894c364/attachment.sig>


More information about the U-Boot mailing list