Re: [PATCH 7/7] sysfs: @name comes before @ns

From: Eric W. Biederman
Date: Wed Sep 11 2013 - 23:39:41 EST


Tejun Heo <tj@xxxxxxxxxx> writes:

> Some internal sysfs functions which take explicit namespace argument
> are weird in that they place the optional @ns in front of @name which
> is contrary to the established convention. This is confusing and
> error-prone especially as @ns and @name may be interchanged without
> causing compilation warning.
>
> Swap the positions of @name and @ns in the following internal
> functions.

Nacked-by: "Eric W. Biederman" <ebiederm@xxxxxxxxxxxx>

@ns is more significant so it should come first.

Where do we have the backwards convention of putting @name first?

Eric
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/