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 1E0D645B99; Tue, 22 Oct 2024 04:37:41 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 07182402BC; Tue, 22 Oct 2024 04:37:41 +0200 (CEST) Received: from mail-oa1-f42.google.com (mail-oa1-f42.google.com [209.85.160.42]) by mails.dpdk.org (Postfix) with ESMTP id 84A8740295 for ; Tue, 22 Oct 2024 04:37:39 +0200 (CEST) Received: by mail-oa1-f42.google.com with SMTP id 586e51a60fabf-2887326be3dso2293232fac.1 for ; Mon, 21 Oct 2024 19:37:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1729564658; x=1730169458; darn=dpdk.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=HNhxpK/sRi8u6N8nAu+cMRupvghTYJ11HcA7C/rdWBg=; b=AWXbRJwpEWBIUMG7+Y8xB9uL4Sb+2jhkQ9Kk3XTw8GQZICWEtFpiAaNBKeHZZh8adB PJCjDsjG4HuM3DjiVl881l98SbGbfdf1+ahPXLm7aPjRCHSN1BzvnK1VEF8yA5hT8ZHt LNQGLBXqH034TjeaYWKl+aX5K+dytPoxJ8uKkJVXqhfy13uyf/k0/km1H9CU+14slhg4 vGCOlH2Aq9qCZ5CwZyjkagqe7yjP4rNmzSJ2QWdM+cWpDp+FU0ie3SMi8BAuBmPm5sPL NYCUlq6DaJl3QF8/JtmZxllS3Nl9q19UnA+xeuqjr5JdaWdwIUaf8I1vLrigeUBKnJ12 2LIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729564658; x=1730169458; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=HNhxpK/sRi8u6N8nAu+cMRupvghTYJ11HcA7C/rdWBg=; b=Tg8EjSMjhquhsR/zKl0/W66jC7sF1puq2/Vgrxvzg4rSjwRK0ZCFhufXdP0vg2lKvC igyYSVDQ7Ip0zRYNU2LlkwCdVcvb1OkzKeXKBh/45DxMK8U7pndnk1nAedpZPjY0syeF 4QiO9s2weKfwEkbf2b790TC+Wj0go8lbCOgUn3ZNM00e/W1LMhyZW46CQBtim1Phx3Dk U9Ps4rGCsyS2MXcUKBs4gRV+xDB5/HZ/8fR/xcH/2cFJcULDBZwJBQHp//SVOfqhlco7 klU0egRZgXCJCzLN2fRxDxC354+21Bf+8A8Y8U7ckJfF0EnOaWlwP32Q8AxPLZgGG/QQ dw5w== X-Gm-Message-State: AOJu0YzzvRhpilx/2diO2ygBi6DYSxSFpeppAdQtFzbpq0UUJJNL6dEn e9H0AqzXJ4XlFLbOHLkADNoSvEZV9jcX/lfaD3FvU6DvYOEpZCOw7+NcmBSdXleyAXFYukI1R/R 1/X4= X-Google-Smtp-Source: AGHT+IFUM3aZCTzYQmNr4YjH2M9UjN0+g3vgg9fy+n489dmiHBDTnaOUrdJWowHC+QCxrjuGNMrabw== X-Received: by 2002:a05:6871:550:b0:260:fbc0:96f2 with SMTP id 586e51a60fabf-28cb00fec22mr1017458fac.34.1729564658544; Mon, 21 Oct 2024 19:37:38 -0700 (PDT) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-71ec1313c75sm3631324b3a.21.2024.10.21.19.37.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Oct 2024 19:37:38 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Long Li , Wei Hu Subject: [PATCH] bus/vmbus: remove unnecessary packed attribute Date: Mon, 21 Oct 2024 19:37:28 -0700 Message-ID: <20241022023728.451151-1-stephen@networkplumber.org> X-Mailer: git-send-email 2.45.2 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 The VMBus ring structure was marked packed which will cause warnings if the no-address-of-packed is enabled. The structure is all 32 bit values and the packed attribute has no impact on the code layout; remove it. Signed-off-by: Stephen Hemminger --- drivers/bus/vmbus/rte_vmbus_reg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/bus/vmbus/rte_vmbus_reg.h b/drivers/bus/vmbus/rte_vmbus_reg.h index e3299aa871..c4f2fa4c7e 100644 --- a/drivers/bus/vmbus/rte_vmbus_reg.h +++ b/drivers/bus/vmbus/rte_vmbus_reg.h @@ -108,7 +108,7 @@ struct vmbus_bufring { * !!! DO NOT place any fields below this !!! */ uint8_t data[]; -} __rte_packed; +}; /* * Channel packets -- 2.45.2