From: Mark Brown Subject: Re: [PATCH v3 3/9] spi: Extend the core to ease integration of SPI memory controllers Date: Tue, 24 Apr 2018 11:47:06 +0100 Message-ID: <20180424104706.GB22073@sirena.org.uk> References: <20180422183522.11118-1-boris.brezillon@bootlin.com> <20180422183522.11118-4-boris.brezillon@bootlin.com> <20180424000805.6c015a40@bbrezillon> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7511775366624993150==" Cc: Yogesh Gaur , Vignesh R , Kamal Dasu , Richard Weinberger , Miquel Raynal , Frieder Schrempf , linux-spi , Peter Pan , Marek Vasut , Andy Shevchenko , "open list:MEMORY TECHNOLOGY..." , Cyrille Pitchen , =?utf-8?B?UmFmYcWCIE1pxYJlY2tp?= , Maxime Chevallier , Brian Norris , David Woodhouse To: Boris Brezillon Return-path: In-Reply-To: <20180424000805.6c015a40@bbrezillon> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-mtd" Errors-To: linux-mtd-bounces+gldm-linux-mtd-36=gmane.org@lists.infradead.org List-Id: linux-spi.vger.kernel.org --===============7511775366624993150== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="pvezYHf7grwyp3Bc" Content-Disposition: inline --pvezYHf7grwyp3Bc Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 24, 2018 at 12:10:04AM +0200, Boris Brezillon wrote: > Andy Shevchenko wrote: > > > +#if IS_ENABLED(CONFIG_SPI_MEM) =20 > > IS_BUILTIN(). > > You defined it as boolean, IS_ENABLE() is superfluous. > Sorry but I don't see the problem here. Yes, IS_BUILTIN() would work, > but IS_ENABLED() works fine too and has not impact on runtime perfs > (and probably near zero impact on compilation time). Anyway, I'll let > Mark decide if this is important enough to send a new version. Yeah, I'm fine with IS_ENABLED() - if nothing else it's defensive programming. --pvezYHf7grwyp3Bc Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAlrfCykACgkQJNaLcl1U h9Dvgwf/aCAPgQAIuDErJSTKWoa17nty96zVEfvsVOcVrXCjjc8RsXaO38Vt6ulQ WdYo7vH+3dTt3/SLVS9Y8JmvmxTk7IoypaFblEYpI8CwzXbVfFG39iUQuoczs71X SDqhvrs46kDCbpwKGbLx15SUv4m0kRrmv/NX7qigGsYPYfdAYb0raDvmJImoUdkX w2HXiqKdlzitoHVto6cMie3f53Hb9Rqhib8a2prtT3CdNZvwi0mSvNi26LJleJ4u GY3SJn9n3aDbPcu7b/wHPhT7fa27tcOr9s7OpiyHFmQXKDeCS/hzVSHgZ03ATjsO Kpl/I0j/b3anYYWAdnPEDRX9APUYew== =5/f0 -----END PGP SIGNATURE----- --pvezYHf7grwyp3Bc-- --===============7511775366624993150== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/ --===============7511775366624993150==--