[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20191018113906.683e9c72@cakuba.netronome.com>
Date: Fri, 18 Oct 2019 11:39:06 -0700
From: Jakub Kicinski <jakub.kicinski@...ronome.com>
To: Jiri Pirko <jiri@...nulli.us>
Cc: netdev@...r.kernel.org, davem@...emloft.net, andrew@...n.ch,
mlxsw@...lanox.com
Subject: Re: [patch net-next v2] devlink: add format requirement for devlink
param names
On Fri, 18 Oct 2019 19:09:51 +0200, Jiri Pirko wrote:
> From: Jiri Pirko <jiri@...lanox.com>
>
> Currently, the name format is not required by the code, however it is
> required during patch review. All params added until now are in-lined
> with the following format:
> 1) lowercase characters, digits and underscored are allowed
> 2) underscore is neither at the beginning nor at the end and
> there is no more than one in a row.
>
> Add checker to the code to require this format from drivers and warn if
> they don't follow.
>
> Signed-off-by: Jiri Pirko <jiri@...lanox.com>
Reviewed-by: Jakub Kicinski <jakub.kicinski@...ronome.com>
Powered by blists - more mailing lists