From patchwork Thu Jan 26 14:07:43 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ferruh Yigit X-Patchwork-Id: 20008 Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [IPv6:::1]) by dpdk.org (Postfix) with ESMTP id 279DB5398; Thu, 26 Jan 2017 15:08:25 +0100 (CET) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 212652BB0 for ; Thu, 26 Jan 2017 15:07:49 +0100 (CET) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga105.fm.intel.com with ESMTP; 26 Jan 2017 06:07:49 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos; i="5.33,289,1477983600"; d="scan'208"; a="1099219510" Received: from sivswdev02.ir.intel.com ([10.237.217.46]) by fmsmga001.fm.intel.com with ESMTP; 26 Jan 2017 06:07:48 -0800 From: Ferruh Yigit To: dev@dpdk.org Cc: Ferruh Yigit , Thomas Monjalon , Pablo de Lara Date: Thu, 26 Jan 2017 14:07:43 +0000 Message-Id: <20170126140744.21626-2-ferruh.yigit@intel.com> X-Mailer: git-send-email 2.8.4 Subject: [dpdk-dev] [PATCH] devtools: update headline prefix for drivers X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" For the patches that touch multiple drivers in same driver group, script forces headline prefix start with drv group. Like for net/a net/b net/c, patch title should be "net: x y z" Update rule to let "driver" prefix in headline, for above sample patch title becomes: "drivers/net: x y z" This prevents patch confused with library with same name. Signed-off-by: Ferruh Yigit --- devtools/check-git-log.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devtools/check-git-log.sh b/devtools/check-git-log.sh index 62b5f43..9ccef66 100755 --- a/devtools/check-git-log.sh +++ b/devtools/check-git-log.sh @@ -87,7 +87,7 @@ bad=$(for commit in $commits ; do if [ $(echo "$drvgrp" | wc -l) -gt 1 ] ; then echo "$headline" | grep -v '^drivers:' elif [ $(echo "$drv" | wc -l) -gt 1 ] ; then - echo "$headline" | grep -v "^$drvgrp" + echo "$headline" | grep -v "^drivers/$drvgrp" else echo "$headline" | grep -v "^$drv" fi