Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp2647558lqp; Mon, 25 Mar 2024 05:38:29 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWVRwDywl3DOIQAYlmPKeUM9KugDIacyqouDvXXMbTfGz98LEmeFVGgLRay60jEkLgfVw/6ey0MMGusuQssvafylF2K7H94bPix0+UrnQ== X-Google-Smtp-Source: AGHT+IFHu00jDojVt3FChBcmwm5WA/NWVNTcw8lvVCK82GN24xHX0t+TlcrbG7mqgongmkgXFaSf X-Received: by 2002:a05:6808:f10:b0:3c3:d31c:fb29 with SMTP id m16-20020a0568080f1000b003c3d31cfb29mr1268647oiw.4.1711370309029; Mon, 25 Mar 2024 05:38:29 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711370309; cv=pass; d=google.com; s=arc-20160816; b=kynPSL2yV86MdE6Yop613Wra1MT2KAJwghuhtiZrbh6dDeRoF91boHDFNqIVpFXu17 b2tU4R9J3CNYyQ78rbmzycmYCRpJYmg02N0oFOvG2/z7ceTbrKmmKSX18mkaJHYuZ3X7 U5dxLI7uemWXO7xijZQnaXMrrZdxmA9yRBzL28sCkqHXqvwccHXP0HYbOfg4furrq153 f8k0KjwDLpRWXrMQ9GEcedBlaG3ThlO5Pxma9GLq33L/ya9csAHkFNo3rqX2tzx3UXnv Z3sx1/6t/ZisW3ub76tCK5Fj8uTZK4NqgHuwciC2pCXVysjHg1f8KdwWa6gSCjQ+24yp dWEA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:to:from:dkim-signature; bh=qPqlcjaaj5lAI5sh4Keu8U2RM6o00XRGFW+VEPjFLFM=; fh=PXKk0h5tOYrfvLOsca+I8y9oqIXj3i9JJuE9vl6NMgM=; b=QZF+PUhHd3FIbrHoJkR33ZeP50upVw7C+tod6NgB1DD2Q2kLS7kWEKO9ia/0wjTZmA sGK8X66w/ol26ocOFlJiTIeGGCDZFX2t1xfTQmDnnQXb4wiqJuv2/vg19+McgFc8ie7e 9IXbT2Y55dJbQURV3bLDE2R5X6QqGhw9PRrSMYc3uRegho37V3gGmFwIZF0xwwAxWVo2 vxccYtBjoie+3Sa6aR1giCIOpDS6U/tohqJy0ff5N+pVErP/N1sHMriCNmFDFKl1WoX3 IKr9X9mHE1wt13HHFVttSjThjNVKu/hYBHhQHfEKsVDeUk+f7dzl5p672/LYzb2w1i/C jYKg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="q/LGWM1B"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-116486-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-116486-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id bw20-20020a05622a099400b0043131a37801si5244430qtb.660.2024.03.25.05.38.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Mar 2024 05:38:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-116486-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="q/LGWM1B"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-116486-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-116486-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id BB1991C3699B for ; Mon, 25 Mar 2024 12:38:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 88223181305; Mon, 25 Mar 2024 07:32:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="q/LGWM1B" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DE768181495; Mon, 25 Mar 2024 07:11:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711350680; cv=none; b=KYX1lNiNOmXEmkCcAhbE/m2OuzN7wLNgvVfYq8ZIhDwxLkym0ICG8/eAhL/DEmgYBqKRvcBFpc4aQQPKGpjaEhfoAQnJrHZHUW5seab2qQb/PfTMoUjjkGnddTf4MxNwSw3hSY7v41RuMovKbYWrhhGZ4SYjS3yDci6qRVc9xEs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711350680; c=relaxed/simple; bh=bD3pn7waGVyabrrIrvOuivhv+kWsQE+KY0AsrDgUOwM=; h=From:To:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=N8wUEggiWrLqQO7GlSLRP+tJOzjCrJmxLwI/Dq6WdSK9sPi5xcYhO/pkfkgpo7r8r39+bhBy+X0rgQRgKsct9S5+wd/uKFB3AmArAjaia8GttQjQeqhZFv9uKlF7YFGTtFD1bdHDbpL7cKvGB31dQk4tPRd+C8ru9YO0mwsFh7E= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=q/LGWM1B; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 66983C43394; Mon, 25 Mar 2024 07:11:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711350679; bh=bD3pn7waGVyabrrIrvOuivhv+kWsQE+KY0AsrDgUOwM=; h=From:To:Subject:Date:In-Reply-To:References:From; b=q/LGWM1B7C6oEXzLyn0OvSQrW0mAYOU7gObAFz+pNpqU7TWGiohm0kB2VOYMbAp6G 8XerHyhTXQ9lBuR1SvmU75R8uPyT300T1voZ4MRUXX78O32A4ws5P54ycc9hiEZIu0 iUGVY7pgXel5vb3yTJwmRm6sWrCF/joWvrZ5l/WPDwMwk4LzxA7JOuYTN//zUArb7g Y5wwkRJBoJzSHlvM+90D35vHdP3cURyOeeYh4pljIZMKS4MGe4Z0edJl9+FOmBqN2+ 1WNTb0dt7g+Qn2dYT0ZKSF7O5EZTCeifqWePGiAULS55uHgPhdxNsr7So3C4RV8Kul lh45KDw/hcAFg== From: Damien Le Moal To: linux-pci@vger.kernel.org, Bjorn Helgaas , Manivannan Sadhasivami , linux-scsi@vger.kernel.org, "Martin K . Petersen" , Jaroslav Kysela , linux-sound@vger.kernel.org, Greg Kroah-Hartman , linux-usb@vger.kernel.org, linux-serial@vger.kernel.org, Hans de Goede , platform-driver-x86@vger.kernel.org, ntb@lists.linux.dev, Lee Jones , David Airlie , amd-gfx@lists.freedesktop.org, Jason Gunthorpe , linux-rdma@vger.kernel.org, "David S . Miller" , Eric Dumazet , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 24/28] scsi: megaraid: Use PCI_IRQ_INTX Date: Mon, 25 Mar 2024 16:09:35 +0900 Message-ID: <20240325070944.3600338-25-dlemoal@kernel.org> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240325070944.3600338-1-dlemoal@kernel.org> References: <20240325070944.3600338-1-dlemoal@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Use the macro PCI_IRQ_INTX instead of the deprecated PCI_IRQ_LEGACY macro. Signed-off-by: Damien Le Moal --- drivers/scsi/megaraid/megaraid_sas_base.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/megaraid/megaraid_sas_base.c b/drivers/scsi/megaraid/megaraid_sas_base.c index 3d4f13da1ae8..631a24d91fa9 100644 --- a/drivers/scsi/megaraid/megaraid_sas_base.c +++ b/drivers/scsi/megaraid/megaraid_sas_base.c @@ -6300,7 +6300,7 @@ static int megasas_init_fw(struct megasas_instance *instance) } if (!instance->msix_vectors) { - i = pci_alloc_irq_vectors(instance->pdev, 1, 1, PCI_IRQ_LEGACY); + i = pci_alloc_irq_vectors(instance->pdev, 1, 1, PCI_IRQ_INTX); if (i < 0) goto fail_init_adapter; } @@ -7839,7 +7839,7 @@ megasas_resume(struct device *dev) if (!instance->msix_vectors) { rval = pci_alloc_irq_vectors(instance->pdev, 1, 1, - PCI_IRQ_LEGACY); + PCI_IRQ_INTX); if (rval < 0) goto fail_reenable_msix; } -- 2.44.0