Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1031006AbbD1T0z (ORCPT ); Tue, 28 Apr 2015 15:26:55 -0400 Received: from mail-wi0-f176.google.com ([209.85.212.176]:38511 "EHLO mail-wi0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030645AbbD1T0u (ORCPT ); Tue, 28 Apr 2015 15:26:50 -0400 MIME-Version: 1.0 In-Reply-To: <1430248224.2411.68.camel@x220> References: <1430230511-10869-1-git-send-email-valentinrothberg@gmail.com> <1430248224.2411.68.camel@x220> From: Valentin Rothberg Date: Tue, 28 Apr 2015 21:26:18 +0200 Message-ID: Subject: Re: [PATCH] drivers/scsi/arm/acornscsi.c: rename CONFIG_ACORNSCSI_CONSTANTS To: Paul Bolle Cc: JBottomley@odin.com, linux@arm.linux.org.uk, linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1114 Lines: 30 Hi Paul, On Tue, Apr 28, 2015 at 9:10 PM, Paul Bolle wrote: > On Tue, 2015-04-28 at 16:15 +0200, Valentin Rothberg wrote: >> CONFIG_ACORNSCSI_CONSTANTS is a file local CPP identifier and thereby >> violates the naming convention of Kconfig options in Make and CPP >> syntax; only Kconfig options should carry the 'CONFIG_' prefix. >> >> This patch removes the 'CONFIG_' prefix to apply to this convention and >> to make static analysis tools happy. > > Will the Erlangen bot still spot ACORNSCSI_CONSTANTS as a potential > issue? No, undertaker-checkpatch won't complain about this. There are thousands of such cases (i.e., without CONFIG_ prefix) around in the code (mostly #ifdef DEBUG). But most of them are intentionally dead or related to debugging, so they are ignored to avoid having false positives. Regards, Valentin > Paul Bolle > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/