Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp6214685imd; Wed, 31 Oct 2018 08:26:40 -0700 (PDT) X-Google-Smtp-Source: AJdET5fMs8dYRf6lLg8L3l4A2V5x0x11MENEPYxUhZmXn6+xoup7eabUbtYrwx6nhHHtijnENy0G X-Received: by 2002:a17:902:be0f:: with SMTP id r15-v6mr3815932pls.170.1540999600893; Wed, 31 Oct 2018 08:26:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540999600; cv=none; d=google.com; s=arc-20160816; b=NlodFhGr6QB8ywlWpZuFgQ7eAoPShJDJaPYOtNIfEUDVdz+uGMZsnrnticmyNUeA70 pUg7/HrGTXPf5ouFHyIk4y6JyGCi6YzmY7ZCF1XBP4vBdWijNh6CNwFzLsbYBSEd6CYP WOjjHCTwtFb1Kcb7ssacJdZGFA9gHHBQQBNEAbVaCCNZXS/haUjZ+nafLjq6UFzOjZQg 228o/pZhD/z4BXFtEkZovJB6ebRNHfulvtH8Yxt6RT3CYexxp5EGxr2HPy93Sxu1BEXw I0YQzss9p5pOBgn+S7CMMfJ+o98maHtqsM8pxf0OE6B0V28WtEkOF2dtJL5x1sHW/Zsm aaJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature:dkim-filter; bh=/V70+fgEgC0ZBcK91HaOzpn4PVyRyLyCy+HFjvOlauw=; b=ad2fo6bfHosg/Ia5PmESDVWWWeYeGT95pfnzr/knoi8+InBI7kLyKKfHou9Jk7KXEq ubJVNRJuK7DvilTGEZJKBBoNQCKIzLGnwrKWKCFtB2CgKxL2wfP2HFTwGoP95F4TubYC H8AY0mji4nwMZ1wJpK/aXC1/ufcOCBqALiJ+mzyrru7TeIZPsRfahzQm+RxuxWWCbGk8 OKY5603pBnho5pC2azvnQhHyhSWvwHeuJvpsg66lsXv2U8zZqaJA1J8y3Fs9B9IbVkF9 eewF7lqp/RhCtnrzzBTkL6/AaXbxi0fhfv3o9lC8nYtccN67R5r/s0tytzHPngcc4DWf rqiQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=bK+U340s; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u9-v6si26865511pls.150.2018.10.31.08.26.23; Wed, 31 Oct 2018 08:26:40 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=bK+U340s; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728857AbeKAAVg (ORCPT + 99 others); Wed, 31 Oct 2018 20:21:36 -0400 Received: from conssluserg-01.nifty.com ([210.131.2.80]:57197 "EHLO conssluserg-01.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726476AbeKAAVg (ORCPT ); Wed, 31 Oct 2018 20:21:36 -0400 Received: from mail-vs1-f44.google.com (mail-vs1-f44.google.com [209.85.217.44]) (authenticated) by conssluserg-01.nifty.com with ESMTP id w9VFMwbB023518; Thu, 1 Nov 2018 00:22:59 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-01.nifty.com w9VFMwbB023518 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1540999379; bh=/V70+fgEgC0ZBcK91HaOzpn4PVyRyLyCy+HFjvOlauw=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=bK+U340sU5gL7okxCsvL2b10TzAiWCeWEl7PaRQFJtRNvL/G9jEHYm1uoiKOmwCyb 8fmsO5aLrFtzUKGauUJA8FMgDg2mURW7Zf8lPeG90Rh9RR3r0xTnnT3vb8xO59HDJZ fEG0SBTuqicDgTFl6Q4zlT11XM4VnsbFBikHPrC5klUsvIw/kzgUtv+poeMgtFsrZ1 sYAke4Cgbd7KpHcPE+mEFNfuS57NmYbUFdWwBvkw/VsHufyecDK5JKYe4ih7tuMLmn /qyaAOpQCq3swbFaLw6SzPOxSk60ZLHYrFXHJFgFZE1hwVDkiMS36XXUfYTMq7L5uD eUI9w8kLz6u9g== X-Nifty-SrcIP: [209.85.217.44] Received: by mail-vs1-f44.google.com with SMTP id e126so10229777vsc.9; Wed, 31 Oct 2018 08:22:59 -0700 (PDT) X-Gm-Message-State: AGRZ1gK3v3eeuPVCRKP6nLqd1T7xW6MELrWPUlhNaCm33OPMBSmbl0TG Vb7RKFITY/D02NHPzCTIn7kXneWGi6/FonmFSjg= X-Received: by 2002:a67:385a:: with SMTP id f87mr1472529vsa.179.1540999377977; Wed, 31 Oct 2018 08:22:57 -0700 (PDT) MIME-Version: 1.0 References: <20181019120952.32763-1-hch@lst.de> <20181019120952.32763-2-hch@lst.de> In-Reply-To: <20181019120952.32763-2-hch@lst.de> From: Masahiro Yamada Date: Thu, 1 Nov 2018 00:22:21 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 1/9] aha152x: rename the PCMCIA define To: Christoph Hellwig Cc: mporter@kernel.crashing.org, Alex Bounine , Dominik Brodowski , Linux Kbuild mailing list , linux-arm-kernel , linux-pci@vger.kernel.org, linux-scsi , linux-arch , Linux Kernel Mailing List , linuxppc-dev Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Oct 19, 2018 at 9:10 PM Christoph Hellwig wrote: > > We plan to enable building the PCMCIA core and drivers, and the > non-prefixed PCMCIA name clashes with some arch headers. > > Signed-off-by: Christoph Hellwig > Acked-by: Thomas Gleixner > --- Applied to linux-kbuild. > drivers/scsi/aha152x.c | 14 +++++++------- > drivers/scsi/pcmcia/aha152x_core.c | 2 +- > 2 files changed, 8 insertions(+), 8 deletions(-) > > diff --git a/drivers/scsi/aha152x.c b/drivers/scsi/aha152x.c > index 4d7b0e0adbf7..301b3cad15f8 100644 > --- a/drivers/scsi/aha152x.c > +++ b/drivers/scsi/aha152x.c > @@ -269,7 +269,7 @@ static LIST_HEAD(aha152x_host_list); > /* DEFINES */ > > /* For PCMCIA cards, always use AUTOCONF */ > -#if defined(PCMCIA) || defined(MODULE) > +#if defined(AHA152X_PCMCIA) || defined(MODULE) > #if !defined(AUTOCONF) > #define AUTOCONF > #endif > @@ -297,7 +297,7 @@ CMD_INC_RESID(struct scsi_cmnd *cmd, int inc) > > #define DELAY_DEFAULT 1000 > > -#if defined(PCMCIA) > +#if defined(AHA152X_PCMCIA) > #define IRQ_MIN 0 > #define IRQ_MAX 16 > #else > @@ -328,7 +328,7 @@ MODULE_AUTHOR("J=C3=BCrgen Fischer"); > MODULE_DESCRIPTION(AHA152X_REVID); > MODULE_LICENSE("GPL"); > > -#if !defined(PCMCIA) > +#if !defined(AHA152X_PCMCIA) > #if defined(MODULE) > static int io[] =3D {0, 0}; > module_param_hw_array(io, int, ioport, NULL, 0); > @@ -391,7 +391,7 @@ static struct isapnp_device_id id_table[] =3D { > MODULE_DEVICE_TABLE(isapnp, id_table); > #endif /* ISAPNP */ > > -#endif /* !PCMCIA */ > +#endif /* !AHA152X_PCMCIA */ > > static struct scsi_host_template aha152x_driver_template; > > @@ -863,7 +863,7 @@ void aha152x_release(struct Scsi_Host *shpnt) > if (shpnt->irq) > free_irq(shpnt->irq, shpnt); > > -#if !defined(PCMCIA) > +#if !defined(AHA152X_PCMCIA) > if (shpnt->io_port) > release_region(shpnt->io_port, IO_RANGE); > #endif > @@ -2924,7 +2924,7 @@ static struct scsi_host_template aha152x_driver_tem= plate =3D { > .slave_alloc =3D aha152x_adjust_queue, > }; > > -#if !defined(PCMCIA) > +#if !defined(AHA152X_PCMCIA) > static int setup_count; > static struct aha152x_setup setup[2]; > > @@ -3392,4 +3392,4 @@ static int __init aha152x_setup(char *str) > __setup("aha152x=3D", aha152x_setup); > #endif > > -#endif /* !PCMCIA */ > +#endif /* !AHA152X_PCMCIA */ > diff --git a/drivers/scsi/pcmcia/aha152x_core.c b/drivers/scsi/pcmcia/aha= 152x_core.c > index dba3716511c5..24b89228b241 100644 > --- a/drivers/scsi/pcmcia/aha152x_core.c > +++ b/drivers/scsi/pcmcia/aha152x_core.c > @@ -1,3 +1,3 @@ > -#define PCMCIA 1 > +#define AHA152X_PCMCIA 1 > #define AHA152X_STAT 1 > #include "aha152x.c" > -- > 2.19.1 > --=20 Best Regards Masahiro Yamada