From patchwork Thu Jan 28 07:29:07 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: KY Srinivasan X-Patchwork-Id: 8146361 Return-Path: X-Original-To: patchwork-linux-scsi@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id CF4FBBEEE5 for ; Thu, 28 Jan 2016 05:53:14 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0278E20256 for ; Thu, 28 Jan 2016 05:53:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2957920122 for ; Thu, 28 Jan 2016 05:53:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934716AbcA1Fwt (ORCPT ); Thu, 28 Jan 2016 00:52:49 -0500 Received: from p3plsmtps2ded04.prod.phx3.secureserver.net ([208.109.80.198]:50510 "EHLO p3plsmtps2ded04.prod.phx3.secureserver.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934353AbcA1Fwn (ORCPT ); Thu, 28 Jan 2016 00:52:43 -0500 Received: from linuxonhyperv.com ([72.167.245.219]) by : HOSTING RELAY : with SMTP id OfVaaAzOQWOsdOfVaapstj; Wed, 27 Jan 2016 22:52:43 -0700 x-originating-ip: 72.167.245.219 Received: by linuxonhyperv.com (Postfix, from userid 507) id B52BE1902B2; Wed, 27 Jan 2016 23:29:08 -0800 (PST) From: "K. Y. Srinivasan" To: gregkh@linuxfoundation.org, 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 1/1] scsi: storvsc: Fix a build issue reported by kbuild test robot Date: Wed, 27 Jan 2016 23:29:07 -0800 Message-Id: <1453966147-10568-1-git-send-email-kys@microsoft.com> X-Mailer: git-send-email 1.7.4.1 X-CMAE-Envelope: MS4wfIdMTrPb1/mtJqlkIc4k5+qikDwT/dZvE2ZosMWyMK4XCkBWbG68PM7eHnFyntyxm1PsGpm9k0kxKW3u1p/ZIruJZz+1QiLswgzlxESZf3Omcb9C2JS7 SgfGmxtieOvtZ4KHu48hy/C9gtb6gRQHuETB35Y7gXtFsSqagMWF89gHGbMCI0Uwb0/+5WwQICL2h1HtGkMh1qTyGMLWUePVDjXUDp8SpInheDhtAjdjtasg QQ6eQGG/FT/BYAXSn07pQ8TvrQ0ofL56PQ4It9YpM4zv9aPtS04sTRxShwbtKDuBu1H3XcKqMU5aMFoPSBjGvVMnEZRfFE2tbwtIZmrlCRV44Xngb25yMbxi kgw3KrCxO6SVD0i1uIaeV+ZYwEZnxYbtpilSFwU7cpCYWfW5t3xEnvjhGFK7JOG6Urrj4jPbo7b/Je/ZEw+OdTJEWP6taZuy8P2DRubokxlGfLbpKBrCs6tr xmch/yk+HLCjM0qKvBHT+0EIXJ8Pmcd214ZAJtOCKzntg48UvVJUXQk8M7UNrn2P3keQppnv4sF8mcFLmbP5WL+FYDYrHtvUT5cOPU4GhKEq8dg505NpzNSC /EU= 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=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 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 --- drivers/scsi/Kconfig | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/scsi/Kconfig b/drivers/scsi/Kconfig index 64eed87..24365c3 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 SCSI_FC_ATTRS default HYPERV help Select this option to enable the Hyper-V virtual storage driver.