From patchwork Mon May 29 07:15:05 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: 687170 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 61483C77B7A for ; Mon, 29 May 2023 07:31:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230424AbjE2HbJ (ORCPT ); Mon, 29 May 2023 03:31:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50074 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229678AbjE2Hay (ORCPT ); Mon, 29 May 2023 03:30:54 -0400 X-Greylist: delayed 906 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Mon, 29 May 2023 00:30:50 PDT Received: from m135.mail.163.com (m135.mail.163.com [220.181.13.5]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 1D0D0AB for ; Mon, 29 May 2023 00:30:49 -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=5cejVgWI/rmBV4cgvO0DdmyafsCZkok3tJr83AbS5YA=; b=Q GmGPtFu6uyH+O5KENGZyaGy3VlR1TbiBsNPQ7uvHGrea6Mf7LtGUxbazaSIA8tv+ jpemx3IFlv+ViJC8iMsfL+bP8T8AgDzvauLH8KmJHchcBxocKZuk5XLw2zm+Lvxj VKzEUinU6HYncKA9pMYipjLXzH9Z2LYMhKIZC/+07I= Received: from yxj790222$163.com ( [124.126.176.74] ) by ajax-webmail-wmsvr5 (Coremail) ; Mon, 29 May 2023 15:15:05 +0800 (CST) X-Originating-IP: [124.126.176.74] Date: Mon, 29 May 2023 15:15:05 +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_QuyTB/+fu00r4yCRbekXnUoag+s4XsC5u/sk2YFSPZE0uCnW3wkaf2FfGVnZzcS9MSGsrgaHSwpl4OVUYrJmfbDqjUKNTWg9vYV9R4bKjGN8 MIME-Version: 1.0 Message-ID: <57837fce.3209.188665c4d0d.Coremail.yxj790222@163.com> X-Coremail-Locale: zh_CN X-CM-TRANSID: BcGowAD3u7T5UHRkiQoVAA--.34671W X-CM-SenderInfo: 510mlmaqssjqqrwthudrp/1tbiQxl+vFc7ekbRVAAAsN 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 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,