From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx2.suse.de ([195.135.220.15]:38155 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750826AbdGZJSf (ORCPT ); Wed, 26 Jul 2017 05:18:35 -0400 Date: Wed, 26 Jul 2017 11:18:30 +0200 From: Johannes Thumshirn To: Arnd Bergmann Cc: "James E.J. Bottomley" , "Martin K. Petersen" , "# 3.4.x" , Hannes Reinecke , Finn Thain , James Smart , linux-scsi , Linux Kernel Mailing List Subject: Re: [PATCH, RESEND] scsi: lpfc: fix linking against modular NVMe support Message-ID: <20170726091830.GI4039@linux-x5ow.site> References: <20170721205401.3374331-1-arnd@arndb.de> <20170726090820.GH4039@linux-x5ow.site> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Sender: stable-owner@vger.kernel.org List-ID: On Wed, Jul 26, 2017 at 11:16:10AM +0200, Arnd Bergmann wrote: > We use this construct in many places these days. A few years ago I added > a comment whenever I added an instance, but most others don't so I treat > it as an idiom now. > > "depends on X" means that if X=m, the current symbol can only be "m" or > "n", while "X=y" means it can have any value. > > So for "depends on X || X=n", the current symbol cannot be "y" when "X=m", > but otherwise can have any of the three possibilities. This is exactly what > we need here. Obvious o.O -- Johannes Thumshirn Storage jthumshirn@suse.de +49 911 74053 689 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 N�rnberg GF: Felix Imend�rffer, Jane Smithard, Graham Norton HRB 21284 (AG N�rnberg) Key fingerprint = EC38 9CAB C2C4 F25D 8600 D0D0 0393 969D 2D76 0850