From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 6495245D02 for ; Thu, 14 Nov 2024 08:39:02 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5D70442D55; Thu, 14 Nov 2024 08:39:02 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id B801E402A1; Thu, 14 Nov 2024 08:38:59 +0100 (CET) Received: from pps.filterd (m0431383.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 4AE69iHZ006494; Wed, 13 Nov 2024 23:38:59 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h= cc:content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to; s=pfpt0220; bh=iq/9KVtMEXjuEeX4tV0ofcc EeywhFDO/qni5MBhgOVk=; b=UqZ+e2dHhRWeHsIsUmt2sfIFR13sD87qES2uK4E 9HwjXb0/3SqSkMLA83gfUs9EL5QZizutYzJ81ng/y9DGw9roLGL/IVesxjyysns9 Pgn+bbKi4ubwItbZ2IeTZcvves83QBY7iVJ3eoO8t/EfohOBgkCDrMiDB2rFdO0i P5t+NbtyFiOsQFH+nVIyn2eUtfwKhzaUKIHAF0izwvqjqGoFYmoTUx6Mf9740jKz vZ1xkeuu/KVbFNQZq+f/9upoYHP8QVXD0LRV/9WQMWFPmf8gy+Ue9qSpScJ0ERg5 Y69MofukjXtxIcvsQUM9QaQSr+F/aMwxPTDJa48jjjp1qzQ== Received: from dc5-exch05.marvell.com ([199.233.59.128]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 42wbprgq0s-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 13 Nov 2024 23:38:58 -0800 (PST) Received: from DC5-EXCH05.marvell.com (10.69.176.209) by DC5-EXCH05.marvell.com (10.69.176.209) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Wed, 13 Nov 2024 23:38:57 -0800 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH05.marvell.com (10.69.176.209) with Microsoft SMTP Server id 15.2.1544.4 via Frontend Transport; Wed, 13 Nov 2024 23:38:57 -0800 Received: from cavium-3070-BM23.. (unknown [10.28.34.25]) by maili.marvell.com (Postfix) with ESMTP id 827F53F7057; Wed, 13 Nov 2024 23:38:54 -0800 (PST) From: To: Nithin Dabilpuram , Kiran Kumar K , Sunil Kumar Kori , Satha Rao , Harman Kalra , Jerin Jacob CC: , , Subject: [PATCH 1/3] common/cnxk: fix build warnings on ubuntu 24.04 Date: Thu, 14 Nov 2024 13:08:14 +0530 Message-ID: <20241114073849.18752-1-skori@marvell.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-GUID: XFrP_TQi0S-iLcMTIksZn_thSmLsU8Tg X-Proofpoint-ORIG-GUID: XFrP_TQi0S-iLcMTIksZn_thSmLsU8Tg X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.687,Hydra:6.0.235,FMLib:17.0.607.475 definitions=2020-10-13_15,2020-10-13_02,2020-04-07_01 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org From: Sunil Kumar Kori Bugzilla ID: 1513 Fixes: 39ac394aa7a8 ("common/cnxk: fix device MSI-X greater than default value") Cc: stable@dpdk.org Signed-off-by: Sunil Kumar Kori --- drivers/common/cnxk/roc_irq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/common/cnxk/roc_irq.c b/drivers/common/cnxk/roc_irq.c index a709c4047d..0b21b9e2d9 100644 --- a/drivers/common/cnxk/roc_irq.c +++ b/drivers/common/cnxk/roc_irq.c @@ -15,7 +15,7 @@ #define MSIX_IRQ_SET_BUF_LEN \ (sizeof(struct vfio_irq_set) + sizeof(int) * \ - (plt_intr_max_intr_get(intr_handle))) + ((uint32_t)plt_intr_max_intr_get(intr_handle))) static int irq_get_info(struct plt_intr_handle *intr_handle) -- 2.43.0