From patchwork Fri Dec 4 14:27:40 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 7768601 Return-Path: X-Original-To: patchwork-linux-scsi@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 31C6B9F54E for ; Fri, 4 Dec 2015 14:29:03 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4CEC420592 for ; Fri, 4 Dec 2015 14:29:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 15E492045E for ; Fri, 4 Dec 2015 14:29:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753033AbbLDO2s (ORCPT ); Fri, 4 Dec 2015 09:28:48 -0500 Received: from mout.kundenserver.de ([212.227.17.13]:57115 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752449AbbLDO2r (ORCPT ); Fri, 4 Dec 2015 09:28:47 -0500 Received: from wuerfel.localnet ([134.3.118.24]) by mrelayeu.kundenserver.de (mreue102) with ESMTPSA (Nemesis) id 0LaU1P-1aYfhn17Et-00mIaU; Fri, 04 Dec 2015 15:27:44 +0100 From: Arnd Bergmann To: "James E.J. Bottomley" , "Martin K. Petersen" Cc: Nagalakshmi Nandigama , Praveen Krishnamoorthy , Sreekanth Reddy , Abhijit Mahajan , MPT-FusionLinux.pdl@avagotech.com, linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, Peter Zijlstra , Christoph Hellwig , linux-arm-kernel@lists.infradead.org Subject: [PATCH] mpt3sas: add PCI dependency for CONFIG_SCSI_MPT2SAS Date: Fri, 04 Dec 2015 15:27:40 +0100 Message-ID: <1953916.xaj9Y2FReq@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; ) MIME-Version: 1.0 X-Provags-ID: V03:K0:cQ+WVsYDK9vRQTNoVYrk1x/vicxH1J11BdztBaXA9wt2d7mTLp8 EjOzh0LRF3BtuNscCfci8oh19NW1eMkOnYEhMy1ZQI9da4TGPjPeAq7r/MPpbfyd3VwHCEt VZgsDSGCBny9ALyRQ/8xAt9bBz91mhOmudQYx2N7fTcTFi8JZ3Xylq3pqW4h9SolFk2CT3s JOTTiMvZucV+gTgijjJvg== X-UI-Out-Filterresults: notjunk:1; V01:K0:+xuBrY32YhI=:1Jk/9terMVbmCMXFpBAhnO E6NaHSihcW7XxsI5TB1j1WqYSH1e7Zc6j7MTOvjwJC3HoKAr1PVzl8gCXaTMFygE8pJT3y7d1 C9XdUUuGrGh+2yyD6lAeEHKxdXbnQSMAi9wFAjqItkzMI3LXkdUcfV6Fw77XLmbihViSaQifX 0eK9TsRd4uciP6SozvNuuCOnY56x4mKubU0A2s76D0ahwzmhiQLVJuxBp1aimQiY5B1UUdhtI BSNsYTa1mVycDQKXjzJvZOMAQMt6e4hugs/cxqQgk9s9koCPa2LNUP72INHl7xYyvtK0pH/ra XOdE7S7bK1PEYsuupVi/M4MgQJ28JyNyFw2NSgmNBvBZz23Fu6WFapnvMhwGnhF7RjW19GE4w +sO1k6yJ2gydHEpBbaw+egZotVMPyWeQin+VJP0jGj78SXct2haGV8M310va9k1yUGERxzYca d2u8lVoIEoAkixAkKq14I3+X24nhaf95sE35UTKDm8o+BnqDmKZnyuZ/NHwrnN0xdTQjjNQ/Z yCMHqrj+Z48y2RPoLi737YvCGL+f9uIf5Y3Atmx1YhWjgCLENEfLj7Nweiw1XwvIcm7oOMFTv QmW/wF7Dy06wK4KrrBm/kvoXYrAeVkT4asklVvlYPbezOnlMr3+cHL6LQ4Wr5Odo7gZZ1P3UF ueJ2AgiCpojg4EQYyy6hMjg7+mDsiteZoTyxnWQ07/TrRgAHHcaWw3ljFTs3NBVhI2oilD22Z hXu1450HoFfFoLhi Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP CONFIG_SCSI_MPT2SAS was added as a backwards-compatibility helper that selects the replacement SCSI_MPT3SAS symbol, but lacks the dependencies: warning: (SCSI_MPT2SAS) selects SCSI_MPT3SAS which has unmet direct dependencies (SCSI_LOWLEVEL && PCI && SCSI) 0x7E5F9A79 Fri Dec 4 12:36:08 CET 2015 failed drivers/scsi/mpt3sas/mpt3sas_base.c: In function 'mpt3sas_remove_dead_ioc_func': drivers/scsi/mpt3sas/mpt3sas_base.c:140:2: error: implicit declaration of function 'pci_stop_and_remove_bus_device_locked' [-Werror=implicit-function-declaration] drivers/scsi/mpt3sas/mpt3sas_base.c: In function '_base_disable_msix': drivers/scsi/mpt3sas/mpt3sas_base.c:1921:2: error: implicit declaration of function 'pci_disable_msix' [-Werror=implicit-function-declaration] This adds the same dependencies that SCSI_MPT3SAS has. Signed-off-by: Arnd Bergmann Fixes: b840c3627b6f ("mpt3sas: Add dummy Kconfig option for backwards compatibility") --- This appeared on today's linux-next with ARM randconfig builds -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/scsi/mpt3sas/Kconfig b/drivers/scsi/mpt3sas/Kconfig index 25dc38f25ec6..33dc427cfe9a 100644 --- a/drivers/scsi/mpt3sas/Kconfig +++ b/drivers/scsi/mpt3sas/Kconfig @@ -74,6 +74,7 @@ config SCSI_MPT3SAS_MAX_SGE config SCSI_MPT2SAS tristate "Legacy MPT2SAS config option" + depends on PCI && SCSI default n select SCSI_MPT3SAS ---help---