From patchwork Sat Feb 27 01:48:58 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: KY Srinivasan X-Patchwork-Id: 8443221 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 DAEA79F88A for ; Sat, 27 Feb 2016 00:11:11 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 10AD92038F for ; Sat, 27 Feb 2016 00:11:11 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 22846203FB for ; Sat, 27 Feb 2016 00:11:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755218AbcB0AKm (ORCPT ); Fri, 26 Feb 2016 19:10:42 -0500 Received: from p3plsmtps2ded03.prod.phx3.secureserver.net ([208.109.80.60]:51738 "EHLO p3plsmtps2ded03.prod.phx3.secureserver.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752176AbcB0AKm (ORCPT ); Fri, 26 Feb 2016 19:10:42 -0500 Received: from linuxonhyperv.com ([72.167.245.219]) by : HOSTING RELAY : with SMTP id ZST2aYXevdpLfZST2aN40o; Fri, 26 Feb 2016 17:10:41 -0700 x-originating-ip: 72.167.245.219 Received: by linuxonhyperv.com (Postfix, from userid 507) id E4EB419023D; Fri, 26 Feb 2016 17:48:59 -0800 (PST) From: "K. Y. Srinivasan" To: linux-kernel@vger.kernel.org, devel@linuxdriverproject.org, ohering@suse.com, jbottomley@parallels.com, hch@infradead.org, linux-scsi@vger.kernel.org, apw@canonical.com, vkuznets@redhat.com, jasowang@redhat.com, martin.petersen@oracle.com, hare@suse.de Cc: "K. Y. Srinivasan" Subject: [PATCH v4 1/1] scsi: storvsc: Fix a build issue reported by kbuild test robot Date: Fri, 26 Feb 2016 17:48:58 -0800 Message-Id: <1456537738-26773-1-git-send-email-kys@microsoft.com> X-Mailer: git-send-email 1.7.4.1 X-CMAE-Envelope: MS4wfNgMF4swkRIJUad/DgbxWgvNcZRen68Ig29mnZhzWtJUR0cX3s7DsMX+edmzUIYjF78WVyxweKyqEtR7x2lBrC1gZ3hjl41nVI8SLKST1LKEDHFBaJSn 5a4N1cu3JrA2pwJj/JPptnQaZKUTYSlYv/rDVPwPusqFlSCvptZV65NzK27tC8sNS8RJ4N+kVmQlVDo2TLVMRy+aeFKvPDlGsuTB7NpHQ4YtQtpkQH72CB/8 NvwVMswSPKecmaHsymCXKxdWLWc0gwoz/vS+Lu32nN5uQo1/dSPXiTPrzU6f9S++ws39gfzyu97V5WxDrQ16I3zJ4K+586Lr0j3fLh5AlXnDFisyeNwlvgMc 2WS+X/4ou0D4ie/5NMAEJ6fxg9WOp0+CDNeSe2lqGQzPx8QCiJtIny96F/Hyfl6A64dorkIw58C3hUHixTWEWrUY1xPdrGFMVTAMQhvBXjsMmeQPKQzI5SCH +dW6Nf5wkj/Xdt9jjM4dh+g8im7KG7yWdTo3VTzoOuSmsFrANG9s29DHENNjUTq7itDiGgGfXTj3G2S/ 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, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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 tree: https://na01.safelinks.protection.outlook.com/?url=https%3a%2f%2fgit.kernel.org%2fpub%2fscm%2flinux%2fkernel%2fgit%2ftorvalds%2flinux.git&data=01%7c01%7ckys%40microsoft.com%7ce2e0622715844b79ad7108d32796ec3c%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=ubr4GbBaNS%2ftOz%2buJBk0CL9N0UNG9x2TidLgy6Yovg4%3d master head: 03c21cb775a313f1ff19be59c5d02df3e3526471 commit: dac582417bc449b1f7f572d3f1dd9d23eec15cc9 storvsc: Properly support Fibre Channel devices date: 3 weeks ago config: x86_64-randconfig-s3-01281016 (attached as .config) reproduce: git checkout dac582417bc449b1f7f572d3f1dd9d23eec15cc9 # save the attached .config to linux build tree make ARCH=x86_64 All errors (new ones prefixed by >>): drivers/built-in.o: In function `storvsc_remove': >> storvsc_drv.c:(.text+0x213af7): undefined reference to `fc_remove_host' drivers/built-in.o: In function `storvsc_drv_init': >> storvsc_drv.c:(.init.text+0xcbcc): undefined reference to `fc_attach_transport' >> storvsc_drv.c:(.init.text+0xcc06): undefined reference to `fc_release_transport' drivers/built-in.o: In function `storvsc_drv_exit': >> storvsc_drv.c:(.exit.text+0x123c): undefined reference to `fc_release_transport' With this commit, the storvsc driver depends on FC atttributes. Make this dependency explicit. Signed-off-by: K. Y. Srinivasan Reported-by: Fengguang Wu --- v1 - v4: Incorporated suggestions from James Bottomley drivers/scsi/Kconfig | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/scsi/Kconfig b/drivers/scsi/Kconfig index 64eed87..166de0c 100644 --- a/drivers/scsi/Kconfig +++ b/drivers/scsi/Kconfig @@ -594,6 +594,7 @@ config XEN_SCSI_FRONTEND config HYPERV_STORAGE tristate "Microsoft Hyper-V virtual storage driver" depends on SCSI && HYPERV + depends on m || SCSI_FC_ATTRS != m default HYPERV help Select this option to enable the Hyper-V virtual storage driver.