[U-Boot] [U-Boot, 1/4] cmd: nvedit: rename flags in do_env_default
Tom Rini
trini at konsulko.com
Fri Jul 20 12:35:04 UTC 2018
On Sun, Jun 24, 2018 at 07:16:54PM +0300, Yaniv Levinsky wrote:
> The naming convention for flags in nvedit.c is:
> * The hashtable flag (defined in search.h) is named "env_flag"
> * The command flag argument (defined in command.h) is named "flag"
>
> This convention is kept in functions like do_env_print(), do_env_set()
> and do_env_delete(), but not in do_env_default().
>
> Rename the hashtable flag in do_env_default() from "flag" to "env_flag".
> Rename the command flag in do_env_default() from "__flag" to "flag".
>
> No functional change.
>
> Signed-off-by: Yaniv Levinsky <yaniv.levinsky at compulab.co.il>
> Reviewed-by: Igor Grinberg <grinberg at compulab.co.il>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180720/1ac43d72/attachment.sig>
More information about the U-Boot
mailing list