From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753744AbaHUDZe (ORCPT ); Wed, 20 Aug 2014 23:25:34 -0400 Received: from smtp.mei.co.jp ([133.183.100.20]:53217 "EHLO smtp.mei.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753717AbaHUDZc (ORCPT ); Wed, 20 Aug 2014 23:25:32 -0400 Date: Thu, 21 Aug 2014 12:25:21 +0900 From: Masahiro Yamada To: Michal Marek Subject: Re: [PATCH] kbuild: Make scripts executable Cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <1408543848-24977-1-git-send-email-mmarek@suse.cz> References: <1408543848-24977-1-git-send-email-mmarek@suse.cz> X-BkSecure-Plugin: BkSecure.dll Ver 1, 2, 7, 0 Message-Id: <20140821122521.2D67.AA925319@jp.panasonic.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Becky! ver. 2.64.06 [ja] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Michal, On Wed, 20 Aug 2014 16:10:48 +0200 Michal Marek wrote: > The Makefiles call the respective interpreter explicitly, but this makes > it easier to use the scripts manually. > > Signed-off-by: Michal Marek I am not sure at all, but it seems scripts/checkpatch.pl has a rule to ban execute permissions. # Check for incorrect file permissions if ($line =~ /^new (file )?mode.*[7531]\d{0,2}$/) { my $permhere = $here . "FILE: $realfile\n"; if ($realfile !~ m@scripts/@ && $realfile !~ /\.(py|pl|awk|sh)$/) { ERROR("EXECUTE_PERMISSIONS", "do not set execute permissions for source files\n" . $permhere); } } Best Regards Masahiro Yamada