[U-Boot] [PATCH 1/4] cmdline: Add linux command line munging tools

Doug Anderson dianders at chromium.org
Thu Oct 20 03:07:11 CEST 2011


On Wed, Oct 19, 2011 at 3:52 PM, Mike Frysinger <vapier at gentoo.org> wrote:

> i'm not particularly enamored with this naming style.  i find the style of
> "<section>_<operation>" to be easier on the eyes rather than this RPN.
>
> i.e. cmdline_param_remove() and cmdline_param_add()
>

I'm happy to name it whatever you'd like.  My next patch will use your
naming suggestion unless someone says otherwise.

I will note, however, that the "verb_noun" style of naming appears to be
favored by the Linux kernel.  In the section of "Naming" in <
http://www.kernel.org/doc/Documentation/CodingStyle>, a suggested name is
"count_active_users()", not "active_users_count()".

-Doug


More information about the U-Boot mailing list