From patchwork Fri Feb 15 07:40:26 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Suganath Prabu S X-Patchwork-Id: 10814271 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9CB1317E0 for ; Fri, 15 Feb 2019 07:41:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 70F432EB1F for ; Fri, 15 Feb 2019 07:41:00 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 65DEC2EB7D; Fri, 15 Feb 2019 07:41:00 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0E66A2EB1F for ; Fri, 15 Feb 2019 07:41:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390220AbfBOHk7 (ORCPT ); Fri, 15 Feb 2019 02:40:59 -0500 Received: from mail-yb1-f193.google.com ([209.85.219.193]:45007 "EHLO mail-yb1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728823AbfBOHk7 (ORCPT ); Fri, 15 Feb 2019 02:40:59 -0500 Received: by mail-yb1-f193.google.com with SMTP id j85so101590ybg.11 for ; Thu, 14 Feb 2019 23:40:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=SvCEC2r9BdvIGQh/QEqw0Msp8zUsROgom5jm618oKEw=; b=CqJyWLGX2k4+sJIeo2I6hjdI67/ny6hYzUAeKjts6LCbWZ84sHK3kpbiDmcC3FJxS5 14skQetE0AMthDlXxlyv0p12JWuqKqZZ4lRyljtFQctVn1AI+WFAsdbjf4LLCoz/gLgP drChll40SJl+tpGQJW47gNhzm+bMnoRj8DREA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=SvCEC2r9BdvIGQh/QEqw0Msp8zUsROgom5jm618oKEw=; b=awRt3vXGG1TX3mI0UHciY62TnwzNygWit4VKmkSV64pk2OxMntphD0S7q3Wgp4S36l rbWGBVL+fPuHQnxpymc52+reKZYd5B7oZ7xqq3DlKqiuYK1NQJKrb3U4GwK44qgPhFkK eJnCYzyisqJWurYtB5+XRBdiSMJBO3EPoZJsomDWVu5vf2o19G+4ep+iBIe9EkKLhGD9 81s7YQNhhjH5jjQ4E+RJA/ia3eD6Ttv95UlEWrq/W6EYl2XX2xCIpkCfcxnNeGdq4wMh Ew8S6VGJ7maZ1dt+/b6Fy5moWoHaNEXt6mrdkh3Yfbj2HTEhmG44oLCiilp+7PndZ/ad P+Ew== X-Gm-Message-State: AHQUAuY12QlTHdXsus1lQJdu9h+SESbdedjGJIjKydxkrcx6uKn2dDbT IYli1/pemy2Fx2LlRFDrXQo15gWitbmzIdORl4YP7Ntx7Gvhhtl/amxwV7TCyZKJm00LdymuVIK nrzF4u0NTVDAzAIN5aUmCFU7qW4nTGJ57kTmabTersbfkM+aPb8Wd3uSmq4AQrQBoWGCMhbURcN QHt+g0l/XItCG6FEad806S X-Google-Smtp-Source: AHgI3IaYOhcell+Zz/2yIUQSuRgQQzqerfEYUzX86UmUtNiiJrTiVBiGdTGL0+AmIF3HHDDEUTgIWw== X-Received: by 2002:a25:ae43:: with SMTP id g3mr6824201ybe.384.1550216458490; Thu, 14 Feb 2019 23:40:58 -0800 (PST) Received: from dhcp-10-123-20-72.dhcp.broadcom.net ([192.19.234.250]) by smtp.gmail.com with ESMTPSA id c124sm1696388ywe.12.2019.02.14.23.40.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 Feb 2019 23:40:58 -0800 (PST) From: Suganath Prabu To: linux-scsi@vger.kernel.org Cc: Sathya.Prakash@broadcom.com, sreekanth.reddy@broadcom.com, Suganath Prabu Subject: [v1 3/7] mpt3sas: Select IRQ_POLL to avoid build error. Date: Fri, 15 Feb 2019 02:40:26 -0500 Message-Id: <1550216430-36612-4-git-send-email-suganath-prabu.subramani@broadcom.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1550216430-36612-1-git-send-email-suganath-prabu.subramani@broadcom.com> References: <1550216430-36612-1-git-send-email-suganath-prabu.subramani@broadcom.com> Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP In patch 4, driver uses irq poll, select it to avoid below build error. ERROR: "irq_poll_init" [drivers/scsi/mpt3sas/mpt3sas.ko] undefined! ERROR: "irq_poll_enable" [drivers/scsi/mpt3sas/mpt3sas.ko] undefined! ERROR: "irq_poll_sched" [drivers/scsi/mpt3sas/mpt3sas.ko] undefined! ERROR: "irq_poll_disable" [drivers/scsi/mpt3sas/mpt3sas.ko] undefined! ERROR: "irq_poll_complete" [drivers/scsi/mpt3sas/mpt3sas.ko] undefined! Signed-off-by: Suganath Prabu --- drivers/scsi/mpt3sas/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/scsi/mpt3sas/Kconfig b/drivers/scsi/mpt3sas/Kconfig index b736dbc..a072187 100644 --- a/drivers/scsi/mpt3sas/Kconfig +++ b/drivers/scsi/mpt3sas/Kconfig @@ -45,6 +45,7 @@ config SCSI_MPT3SAS depends on PCI && SCSI select SCSI_SAS_ATTRS select RAID_ATTRS + select IRQ_POLL ---help--- This driver supports PCI-Express SAS 12Gb/s Host Adapters.