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 D2F20424D8; Wed, 12 Jun 2024 06:37:24 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0AD0B40E15; Wed, 12 Jun 2024 06:36:51 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.14]) by mails.dpdk.org (Postfix) with ESMTP id 4206140E16 for ; Wed, 12 Jun 2024 06:36:49 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1718167010; x=1749703010; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=bsSrYT9EnA1tkTy2bQqYMnMkRhcBFP1qTCT85dAK1DE=; b=CPXGhQbGm4X2VmcPtZ1CT6h3VGhV95N63leQxqT1s8pXLMCoH+lwAa1s yfQfbeDSetrXky91ymUvN0FlgFFUS35sm7AKXjpdjpA4+wSJaJmlKeACh uFG5aInhVmLgxIWgqdHdUvLv1swPMtiBDJLUyQQ1T21BJMU55xEBa/qoY bErtU/DCSd2IVJRKZc4o9tD03MMEG+fhO7SrKWRKclUqnmv/VT4DZwDb3 FajwE1PDC+AH1bHkbf5Gf41gJVHssSsVEpTmE4iEC8lprinowY1mHircr Q+nLLEqmMP/Xw4Tt05zxeo1UvcvkLxug58NvTybC7IMk6tLnl+VoFD15h A==; X-CSE-ConnectionGUID: 4pMjyVdMROia37tKkmk85w== X-CSE-MsgGUID: vXOLtFR5Rd6QTjfhZQMS3Q== X-IronPort-AV: E=McAfee;i="6600,9927,11100"; a="18742186" X-IronPort-AV: E=Sophos;i="6.08,232,1712646000"; d="scan'208";a="18742186" Received: from orviesa008.jf.intel.com ([10.64.159.148]) by orvoesa106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Jun 2024 21:36:49 -0700 X-CSE-ConnectionGUID: lY2I6pgPRqOjFf2nE/h3ow== X-CSE-MsgGUID: E6jZdq2TS+aat6PEBstgog== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,232,1712646000"; d="scan'208";a="40281931" Received: from unknown (HELO npf-hyd-clx-03..) ([10.145.170.182]) by orviesa008.jf.intel.com with ESMTP; 11 Jun 2024 21:36:46 -0700 From: Soumyadeep Hore To: bruce.richardson@intel.com, anatoly.burakov@intel.com Cc: dev@dpdk.org Subject: [PATCH v3 07/22] common/idpf: convert data type to 'le' Date: Wed, 12 Jun 2024 03:52:42 +0000 Message-ID: <20240612035257.2245824-8-soumyadeep.hore@intel.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240612035257.2245824-1-soumyadeep.hore@intel.com> References: <20240604080611.2197835-1-soumyadeep.hore@intel.com> <20240612035257.2245824-1-soumyadeep.hore@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org 'u32' data type is used for the struct members in 'virtchnl2_version_info' which should be '__le32'. Make the change accordingly. Signed-off-by: Soumyadeep Hore --- drivers/common/idpf/base/virtchnl2.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/common/idpf/base/virtchnl2.h b/drivers/common/idpf/base/virtchnl2.h index 851c6629dd..1f59730297 100644 --- a/drivers/common/idpf/base/virtchnl2.h +++ b/drivers/common/idpf/base/virtchnl2.h @@ -471,8 +471,8 @@ * error regardless of version mismatch. */ struct virtchnl2_version_info { - u32 major; - u32 minor; + __le32 major; + __le32 minor; }; VIRTCHNL2_CHECK_STRUCT_LEN(8, virtchnl2_version_info); -- 2.43.0