[dpdk-dev] [PATCH] scripts: add check for net driver names without net prefix

2016-07-06 Thread Thomas Monjalon
2016-07-06 10:25, Bruce Richardson: > On Wed, Jul 06, 2016 at 11:10:48AM +0200, Thomas Monjalon wrote: > > 2016-07-05 15:40, Bruce Richardson: > > > +# check headline label for net/ prefix if needed > > > +bad=$(echo "$headlines" | grep -E --color=always \ > > > + -e "^($(ls drivers/net | grep -v M

[dpdk-dev] [PATCH] scripts: add check for net driver names without net prefix

2016-07-06 Thread Bruce Richardson
On Wed, Jul 06, 2016 at 11:46:23AM +0200, Thomas Monjalon wrote: > 2016-07-06 10:25, Bruce Richardson: > > On Wed, Jul 06, 2016 at 11:10:48AM +0200, Thomas Monjalon wrote: > > > 2016-07-05 15:40, Bruce Richardson: > > > > +# check headline label for net/ prefix if needed > > > > +bad=$(echo "$headl

[dpdk-dev] [PATCH] scripts: add check for net driver names without net prefix

2016-07-06 Thread Thomas Monjalon
2016-07-05 15:40, Bruce Richardson: > +# check headline label for net/ prefix if needed > +bad=$(echo "$headlines" | grep -E --color=always \ > + -e "^($(ls drivers/net | grep -v Makefile | tr '\n' '|')):" \ > + | sed 's,^,\t,') > +[ -z "$bad" ] || printf "Headline missing 'net/' prefix:\n$

[dpdk-dev] [PATCH] scripts: add check for net driver names without net prefix

2016-07-06 Thread Bruce Richardson
On Wed, Jul 06, 2016 at 11:10:48AM +0200, Thomas Monjalon wrote: > 2016-07-05 15:40, Bruce Richardson: > > +# check headline label for net/ prefix if needed > > +bad=$(echo "$headlines" | grep -E --color=always \ > > + -e "^($(ls drivers/net | grep -v Makefile | tr '\n' '|')):" \ > > + | sed 's

[dpdk-dev] [PATCH] scripts: add check for net driver names without net prefix

2016-07-05 Thread Bruce Richardson
Since the current standard for commit prefixes is to put the device type e.g. "net", in front of the driver name, add a check for commit titles which have a net driver name without any prefix in front of it. Signed-off-by: Bruce Richardson --- scripts/check-git-log.sh | 6 ++ 1 file changed,