Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S975320AbdDXRCa (ORCPT ); Mon, 24 Apr 2017 13:02:30 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:45439 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S975288AbdDXRCM (ORCPT ); Mon, 24 Apr 2017 13:02:12 -0400 Date: Mon, 24 Apr 2017 10:02:05 -0700 From: "Paul E. McKenney" To: Shuah Khan Cc: priyalee.kushwaha@intel.com, josh@joshtriplett.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, Kushwaha@ezm04-pco.easydns.vpn, ldr709@gmail.com Subject: Re: [PATCH v1 1/1] srcu-cbmc: Use /usr/bin/awk instead of /bin/awk Reply-To: paulmck@linux.vnet.ibm.com References: <1ad554b0025913fedf4ec3c7953d1a42fe1f0dde.1492879165.git.priyalee.kushwaha@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-TM-AS-GCONF: 00 x-cbid: 17042417-2213-0000-0000-0000019E68F0 X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00006966; HX=3.00000240; KW=3.00000007; PH=3.00000004; SC=3.00000208; SDB=6.00851850; UDB=6.00421006; IPR=6.00630687; BA=6.00005311; NDR=6.00000001; ZLA=6.00000005; ZF=6.00000009; ZB=6.00000000; ZP=6.00000000; ZH=6.00000000; ZU=6.00000002; MB=3.00015158; XFM=3.00000013; UTC=2017-04-24 17:02:09 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17042417-2214-0000-0000-000055BDB628 Message-Id: <20170424170205.GL3956@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-04-24_13:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1704240289 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1800 Lines: 44 On Mon, Apr 24, 2017 at 08:02:10AM -0600, Shuah Khan wrote: > On 04/22/2017 11:17 AM, priyalee.kushwaha@intel.com wrote: > > From: Priyalee Kushwaha > > > > Most OS distribution have awk in /usr/bin not in /bin > > Without this patch, kernel-devsrc fails to build as > > runtime dependency for srcu-cbmc script /bin/awk is > > not found. > > > > Signed-off-by: Kushwaha, Priyalee > > --- > > tools/testing/selftests/rcutorture/formal/srcu-cbmc/modify_srcu.awk | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/tools/testing/selftests/rcutorture/formal/srcu-cbmc/modify_srcu.awk b/tools/testing/selftests/rcutorture/formal/srcu-cbmc/modify_srcu.awk > > index 8ff8904..c9e8bc5 100755 > > --- a/tools/testing/selftests/rcutorture/formal/srcu-cbmc/modify_srcu.awk > > +++ b/tools/testing/selftests/rcutorture/formal/srcu-cbmc/modify_srcu.awk > > @@ -1,4 +1,4 @@ > > -#!/bin/awk -f > > +#!/usr/bin/awk -f > > > > # Modify SRCU for formal verification. The first argument should be srcu.h and > > # the second should be srcu.c. Outputs modified srcu.h and srcu.c into the > > > > Hi Paul, > > If this change looks good, please Ack it so I can take it through kselftest > tree. If you would like to take this through rcu, that is fine as well. Hello, Shuah, I have queued it with Lance's ack and Josh's review. Just for full disclosure, my recent SRCU work has broken srcu-cbmc, and a bit more breakage is on its way. :-( That said, I would welcome patches to fix it -- mostly adjustments in pathnames, structure names, and which fields get removed. Adjusting it to work correctly with Classic SRCU would probably be a bit easier than adapting it to either Tree SRCU or Tiny SRCU. Thanx, Paul