From patchwork Fri Apr 21 12:19:26 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?5bCk5pmT5p2w?= X-Patchwork-Id: 676264 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 89C51C7618E for ; Fri, 21 Apr 2023 12:35:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231182AbjDUMfP (ORCPT ); Fri, 21 Apr 2023 08:35:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38730 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229464AbjDUMfO (ORCPT ); Fri, 21 Apr 2023 08:35:14 -0400 X-Greylist: delayed 903 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Fri, 21 Apr 2023 05:35:11 PDT Received: from m13123.mail.163.com (m13123.mail.163.com [220.181.13.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 49FECE53 for ; Fri, 21 Apr 2023 05:35:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=Date:From:Subject:Content-Type:MIME-Version: Message-ID; bh=nvdgBl4lNnEeq6fDfKYOEpQmnBbGMNRN1Lql4VI6rss=; b=e Ta+BFVGIj0EcLt87Zq/sfEae4rj2qoZjuoySLrvLVVvca1HO6s1ceANbUtnzRtjZ lWwGJkZAoynhmI0TzT7GI0kxThem3js+fYFwfLphtM/5bwJeXRG0NkoNj58d9FZQ uqoaZPBn3cvF3GMquTCyPeTa3kpTUQS47aZMAZv5VU= Received: from yxj790222$163.com ( [60.247.76.79] ) by ajax-webmail-wmsvr123 (Coremail) ; Fri, 21 Apr 2023 20:19:26 +0800 (CST) X-Originating-IP: [60.247.76.79] Date: Fri, 21 Apr 2023 20:19:26 +0800 (CST) From: =?gbk?b?08jP/r3c?= To: linux-scsi@vger.kernel.org Subject: [PATCH] scsi: qlogic_cs: fix irqf_shared, share same irq with pcmcia controller X-Priority: 3 X-Mailer: Coremail Webmail Server Version XT5.0.14 build 20230109(dcb5de15) Copyright (c) 2002-2023 www.mailtech.cn 163com X-NTES-SC: AL_QuyTAPyctk0t4CGYbekXnUoag+s4XsC5u/sk2YFSPZE0niv8/AshU3JxJVLI0vOCACqPvRWJXDtE0tpZV5FlfKPedqTpvq758CDkrt50flx9 MIME-Version: 1.0 Message-ID: <7a7202f1.609a.187a3c14920.Coremail.yxj790222@163.com> X-Coremail-Locale: zh_CN X-CM-TRANSID: e8GowACX1TxOf0Jky7sLAA--.33754W X-CM-SenderInfo: 510mlmaqssjqqrwthudrp/1tbiMhxYvFWB3db1hAADsn X-Coremail-Antispam: 1U5529EdanIXcx71UUUUU7vcSsGvfC2KfnxnUU== Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org >From 82c1d0f88243f8ed1ffaeea98d775abd58866b1b Mon Sep 17 00:00:00 2001 From: You Xiaojie Date: Fri, 21 Apr 2023 19:02:15 +0800 Subject: [PATCH] qlogic_cs: fix irqf_shared, share same irq with pcmcia controller Signed-off-by: You Xiaojie --- drivers/scsi/pcmcia/qlogic_stub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- diff --git a/drivers/scsi/pcmcia/qlogic_stub.c b/drivers/scsi/pcmcia/qlogic_stub.c index 310d0b6586a6..4dbb938790c2 100644 --- a/drivers/scsi/pcmcia/qlogic_stub.c +++ b/drivers/scsi/pcmcia/qlogic_stub.c @@ -122,7 +122,7 @@ static struct Scsi_Host *qlogic_detect(struct scsi_host_template *host, priv->shost = shost; priv->int_type = INT_TYPE; - if (request_irq(qlirq, qlogicfas408_ihandl, 0, qlogic_name, shost)) + if (request_irq(qlirq, qlogicfas408_ihandl, IRQF_SHARED, qlogic_name, shost)) goto free_scsi_host; sprintf(priv->qinfo,