From patchwork Mon Jun 17 11:19:17 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 166994 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp2728109ilk; Mon, 17 Jun 2019 04:20:00 -0700 (PDT) X-Google-Smtp-Source: APXvYqxy7JdDOiSRhCyLlux8SViacclG300pMcOtDex8Kus2s84IaMSWHs45ZR0ICGZvegFfZ7Fq X-Received: by 2002:a63:5d61:: with SMTP id o33mr19345574pgm.114.1560770399906; Mon, 17 Jun 2019 04:19:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560770399; cv=none; d=google.com; s=arc-20160816; b=zdqHLDJo8x/eoEZTRP6S9h6kDj1yHIbbNQ4ZsO4+oD0wLUbxVrvd1jRs6ZglK9jazI 1MfGzKbgmKmk8wyolkaGMEjqMujjHNNiNrKBY/hIoybxGWIkvC9/PU7BtFrM/yxMT9DS TdMLU8fEu7YrHcobv7+uviEvtje/H6Dx1qj7zZMiAzrAaflNMG9cutG3TsmfbKV2OBpO c/xQPilou+Hdy65ryr1Jvk8k11tO+t8cJviN395eHiLfWVutj572p2fx2yjIqOmCfb+6 hI/MZf7/+DbG+QkhsNrcsAbrJMkeUi/HtmAk5BNA5ATuGwS/VOQhTlS6zFIJafzDE9DY mYSg== 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:mime-version :message-id:date:subject:cc:to:from; bh=ZZM1KurFCDS58WEQ5M7ZRMMXasjmb/HTK2AATSxQoAA=; b=fylcoq1sIE02EAT3okQmM1yDuwjaE9qz8H6tQ/sEfbBW2NslWeem4Z1thSaVeW1ijk Dcz0VqgkmxETwnaQiLgkhPpYT+TO1T2o2SZccLx5iCz/3uDv3jld0L5ZyRTuPmNN5VsT jnglQ8zNobmbz5S7bVLDa1uwZnpqHvRDdrG5lmcYd2JBzJerYtTzrSlAlId+LKfY/9eE k73W42oS7dwKBjTXVWFcQnWlL1RbNWfA9zOyqAfCwxqKKKMZ7gxCrLfbPCNLvehWh2z/ nEuYiPye8F9A9ISonOYBz2HjW0wQzl5PiKYANlvzrcPZrfkvxj13sHVYbuDprr3w5dtJ /YzA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-scsi-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-scsi-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 t24si9649544pgv.242.2019.06.17.04.19.59; Mon, 17 Jun 2019 04:19:59 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-scsi-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-scsi-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-scsi-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728018AbfFQLT7 (ORCPT + 1 other); Mon, 17 Jun 2019 07:19:59 -0400 Received: from mout.kundenserver.de ([212.227.126.130]:51601 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727846AbfFQLT7 (ORCPT ); Mon, 17 Jun 2019 07:19:59 -0400 Received: from threadripper.lan ([149.172.19.189]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.129]) with ESMTPA (Nemesis) id 1N0Fl9-1iW9Fr2hwl-00xL9C; Mon, 17 Jun 2019 13:19:40 +0200 From: Arnd Bergmann To: "James E.J. Bottomley" , "Martin K. Petersen" Cc: Arnd Bergmann , Ondrej Zary , Hannes Reinecke , Johannes Thumshirn , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] scsi: fdomain: fix building pcmcia front-end Date: Mon, 17 Jun 2019 13:19:17 +0200 Message-Id: <20190617111937.2355936-1-arnd@arndb.de> X-Mailer: git-send-email 2.20.0 MIME-Version: 1.0 X-Provags-ID: V03:K1:Ft7A+L+Rr9iEQAM1pAHYVAEso0+XdaZFK2sYmt+ngiJcm0laXJ1 +o16oKqC3FRm99GEeCbWW7/pIFVs6UsAK8OhiPNLl8aGcSWI31a+Wtx3g2I61iVoBiUvoKc royoq8jozOIZBwCDMtFcO0q6nTa9PSANsErViZUz0ygbNXVIjgr/ou5m82EwWjfSjoe0V1f iRI/q0izxIvGXPQtxkJ9g== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1; V03:K0:q8l1WVXaUlI=:BUJ+7U6WS0M//LNrl2MEVu Kqex6414Zc60ujZ3auqcDTuSlEpwE/PJjDDLZ9/NoMqcg5LhQtfIpjnDKhTynoI7zVmYZjbP5 vI3JpBtz8v1Tj8WrjjV6GJhXAoo21aXh0OZ4z75e6A/9Z3HnoJcBooHs5X4V2c6jGiJ658thc Tp2WYs3s1ZAbejnOfome6axeLy6l9vC1cwcgxbJeG9hovDgg7yqt+pzUB3g1LxMp+4awnEnNA pVV+ibuTbzj5L7twFEzl4pHCJtVS+NsjU6RFl0dvjpw07qocS4SZxkR/HgCM0KkGctOpBq9Ok PHp6hjbN+8xwEIgMcJkG9hNf8dqV6UsgLmqiVGZQ3ViW1vccNMDPEXN1eEr6lqa14y3MD2Y04 w1ZSRaG451NPF5jGXh+/WObN7TGqzaodTa7bWrECEOZMabJpVuYVQSMCM5LJDvwVa35OvS82+ HPYIw3T85UVTFAN/TC0STC0nmzi5QO6Ld+kfYlwU487siZ6ITQEooztQb4ylxsdNbukTPR0Hr gFak5Ue/dPUn20RdTq1aF15JnCZqUWFBn+pmg06+f94I8FnOpoxM6G2TEKyhQ/Y8Brl33n8Qb pFq2nqcuuJYVn7DmgbN5VrOF2ouxzj4KxMd0uDtry2rXQkl0T44SLmKVNRrCa2+LRkGN25USc 9AxLhjCy63uaRoyL1+3N/YFpxqBKmsC4F4mWEEDPkncGmXBs99dC3Gt9zBl4os0hM1cikkQLV D8MP/WoKnfg1gNyAdbuxaMJIw4md5wxv4vUEfw== Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org We get a warning when CONFIG_SCSI_LOWLEVEL is disabled here: WARNING: unmet direct dependencies detected for SCSI_FDOMAIN Depends on [n]: SCSI_LOWLEVEL [=n] && SCSI [=y] Selected by [m]: - PCMCIA_FDOMAIN [=m] && SCSI_LOWLEVEL_PCMCIA [=y] && SCSI [=y] && PCMCIA [=y] && m && MODULES [=y] Move the common support outside of the SCSI_LOWLEVEL section. Alternatively, we could move all of SCSI_LOWLEVEL_PCMCIA into SCSI_LOWLEVEL. This would be more sensible, but might cause surprises for users that have SCSI_LOWLEVEL disabled. Fixes: 7d47fa065e62 ("scsi: fdomain: Add PCMCIA support") Signed-off-by: Arnd Bergmann --- drivers/scsi/Kconfig | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) -- 2.20.0 diff --git a/drivers/scsi/Kconfig b/drivers/scsi/Kconfig index 75f66f8ad3ea..dffe4b31e205 100644 --- a/drivers/scsi/Kconfig +++ b/drivers/scsi/Kconfig @@ -642,10 +642,6 @@ config SCSI_DMX3191D To compile this driver as a module, choose M here: the module will be called dmx3191d. -config SCSI_FDOMAIN - tristate - depends on SCSI - config SCSI_FDOMAIN_PCI tristate "Future Domain TMC-3260/AHA-2920A PCI SCSI support" depends on PCI && SCSI @@ -1527,6 +1523,10 @@ endif # SCSI_LOWLEVEL source "drivers/scsi/pcmcia/Kconfig" +config SCSI_FDOMAIN + tristate + depends on SCSI + source "drivers/scsi/device_handler/Kconfig" endmenu