From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-21.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B0995C432BE for ; Tue, 10 Aug 2021 11:27:49 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 3B87560EBB for ; Tue, 10 Aug 2021 11:27:49 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 3B87560EBB Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linuxfoundation.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kvack.org Received: by kanga.kvack.org (Postfix) id 94B646B0071; Tue, 10 Aug 2021 07:27:48 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 8FA5E8D0001; Tue, 10 Aug 2021 07:27:48 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 7E94E6B0073; Tue, 10 Aug 2021 07:27:48 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0142.hostedemail.com [216.40.44.142]) by kanga.kvack.org (Postfix) with ESMTP id 6190C6B0071 for ; Tue, 10 Aug 2021 07:27:48 -0400 (EDT) Received: from smtpin23.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id E8A602288D for ; Tue, 10 Aug 2021 11:27:47 +0000 (UTC) X-FDA: 78458946174.23.640A0F8 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by imf30.hostedemail.com (Postfix) with ESMTP id 75D98E00307D for ; Tue, 10 Aug 2021 11:27:47 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id 18E5E60C51; Tue, 10 Aug 2021 11:27:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1628594866; bh=YD3mk7wVBKr+345hMQBi3IBiMgz7hrlLy6ovY3z2l7M=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=aTELFQUPYx5v/4wwaaSZGFLAIyYKIQuZp8UwWzyJ2eEkUUdBsp7j5BL+iX8f47USr HIAdWYcKQugtIeOHcBJxTYrcW7DENtDmswzMjuGKzZmG3EpNLEo3WgUkW6b73aE+IF ChLULpt/2/QMvBT9ODrH2K9jMKkGiaaNuOdPgoSE= Date: Tue, 10 Aug 2021 13:27:44 +0200 From: Greg KH To: SeongJae Park Cc: akpm@linux-foundation.org, shuah@kernel.org, linux-mm@kvack.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, mm-commits@vger.kernel.org, SeongJae Park Subject: Re: [PATCH] selftests/damon/debugfs_attrs: Add missing execute permission Message-ID: References: <20210806004226.47nyd%akpm@linux-foundation.org> <20210810112050.22225-1-sj38.park@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210810112050.22225-1-sj38.park@gmail.com> Authentication-Results: imf30.hostedemail.com; dkim=pass header.d=linuxfoundation.org header.s=korg header.b=aTELFQUP; dmarc=pass (policy=none) header.from=linuxfoundation.org; spf=pass (imf30.hostedemail.com: domain of gregkh@linuxfoundation.org designates 198.145.29.99 as permitted sender) smtp.mailfrom=gregkh@linuxfoundation.org X-Stat-Signature: qsp7ozo9nwttee5ocmufqdix4jqajikk X-Rspamd-Queue-Id: 75D98E00307D X-Rspamd-Server: rspam01 X-HE-Tag: 1628594867-395493 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Tue, Aug 10, 2021 at 11:20:50AM +0000, SeongJae Park wrote: > From: SeongJae Park > > Commit 04edafbc0c07 ("mm/damon: add user space selftests") of > linux-mm[1] gives no execute permission to 'debugfs_attrs.sh' file. > This results in a DAMON selftest failure as below: > > $ make -C tools/testing/selftests/damon run_tests > make: Entering directory '/home/sjpark/linux/tools/testing/selftests/damon' > TAP version 13 > 1..1 > # selftests: damon: debugfs_attrs.sh > # Warning: file debugfs_attrs.sh is not executable, correct this. > not ok 1 selftests: damon: debugfs_attrs.sh > make: Leaving directory '/home/sjpark/linux/tools/testing/selftests/damon' > > To solve the problem, this commit adds the execute permission for > 'debugfs_attrs.sh' file. > > [1] https://github.com/hnaz/linux-mm/commit/04edafbc0c07 > > Signed-off-by: SeongJae Park > --- > tools/testing/selftests/damon/debugfs_attrs.sh | 0 > 1 file changed, 0 insertions(+), 0 deletions(-) > mode change 100644 => 100755 tools/testing/selftests/damon/debugfs_attrs.sh > > diff --git a/tools/testing/selftests/damon/debugfs_attrs.sh b/tools/testing/selftests/damon/debugfs_attrs.sh > old mode 100644 > new mode 100755 > -- > 2.17.1 > Why not fix the tools to execute the file properly as changing the mode of a file does not work well with all tools that we use (i.e. patch files.) thanks, greg k-h