Received: by 2002:a05:6500:1b45:b0:1f5:f2ab:c469 with SMTP id cz5csp462725lqb; Wed, 17 Apr 2024 01:17:32 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX5unxR53WM/+JxBklryut94+PeRFYD2g0zxcCEHMzePn+iO5hj26faBd+P+JG6AjkgsoafgJqUZSMw5KyMMB65g2rRNqZ+yJb/TK59KQ== X-Google-Smtp-Source: AGHT+IE87HluloP0ZGLQqwqqRalmr7FVE/88T0uGkcCHNbyNtM4glhie704t+4prRISOCidEejES X-Received: by 2002:a50:954a:0:b0:56e:2393:cee4 with SMTP id v10-20020a50954a000000b0056e2393cee4mr11211659eda.9.1713341852475; Wed, 17 Apr 2024 01:17:32 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713341852; cv=pass; d=google.com; s=arc-20160816; b=eYEPTbtQ3eYQYMJjXPXp7sA7gJZrfU8YWPGEihnfV3+/i1YZdK/hyDJ0lAU5HPpf+N 53Tv7wMqNQZJ+jf5UNvU43LABAVa2YZcDsP0aSq6hfqy6aQUMKUu7TTe4nRmsqFdpwO9 V4JbmJiXjynrGx/C24ZVUVAPFj7ypoj2u5AW3QSvExZddq9FZ6DznTlS9nLna3jggYzF /o/JBo9Xhn0Xa99CjpBXJQy0CN0zsyTr4ioBajVVSP7mf1P0cAfZaE3Uc16waInpRt+c 42u7Zc0/3xKF/jxjtW4CgPm8CT98wEvCdv0K9O5yvEWlUSzbwUsPu6EI+MUB4jaw7z8A BenA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=ICmclor0EQmrn+qHs/gdCPE9zTGy2i3H0+ZD0AE/2/o=; fh=nf++TdwnqAO19I7Az7NeNUART1oIE0RaGS56ODcd0JI=; b=XPk6lHzfMeb9pjHA6Y85pPPJz/0BqeKqJxhQjrMJ6d0aCzLOG2mXjt/ibyaG9zcsSS Zs6eBsucKaLx5XRHU3NgutzDsP95JJ6TJEIP7xMPMUooUZ7z938UIm4SSeVKtej1Uexc 2Si9WZqxKZ/9uo3p45syrdq7f20dYEGCvzH/7phalt9lQ9uM/T0i0sQNMMVZlKKj0ad+ dORuzo/VsvDD5ii+/g2+gZrEw2ZaNqiOJzQn5JXa3nvvjR3SW4VCy0CseS0i4LOT1nJ3 Z1zT7/iWe7jQ9oaVU8h+UIf45j5T1uilaDB6RjDaBt2iKmjBWQ6Cs9bEfQk/onONett6 bf0A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=R8zZj4Gg; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-148118-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-148118-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id j12-20020a05640211cc00b0056e5233d59fsi6418381edw.494.2024.04.17.01.17.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Apr 2024 01:17:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-148118-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=R8zZj4Gg; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-148118-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-148118-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.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 am.mirrors.kernel.org (Postfix) with ESMTPS id 38EAD1F21613 for ; Wed, 17 Apr 2024 08:17:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 01D517D3F0; Wed, 17 Apr 2024 08:17:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="R8zZj4Gg" 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 2904C29CEB; Wed, 17 Apr 2024 08:17:24 +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=1713341845; cv=none; b=mAmRaDALmrft3O8KRQ8Z+m76umunMVwjyEkZwEfV13XibPUuXiXVa8eVxjHvfwX1M9rN/66s97v7Jr7Lz2Gyp1wMni/ymVLlDPX0D+8lG6pbxfmW+Y/ciSo4zUfsjUB8neFJEHmPQ90nsg2uXwii+3Ah5lXtcLi+uJPeLEk70Pw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713341845; c=relaxed/simple; bh=QTEdJnoj/sTxJ2oxrmzVQaFX9Fj7lAqhSaplaJD9cKg=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=mlRMDYhTRjJ4HOMJfm1Fg35BADfL6afob+76AAW2wcUlXGHyHXExK8+7mom3Sn1MAUOUkOaLUe59vpGnJImlmp1wJT8QIy/CpJfA9kZ3fSmVcoklkebJvaFeVzuc/knrcLRhaF5wfNj7oHQH3kQ/RBG9uaIXblccStBV/3axZTw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=R8zZj4Gg; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5379DC072AA; Wed, 17 Apr 2024 08:17:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1713341844; bh=QTEdJnoj/sTxJ2oxrmzVQaFX9Fj7lAqhSaplaJD9cKg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=R8zZj4Gg1NoHuTTgyPTJOtzjptzfvFvgIpA3MmwLDqRYDfFL51G6+iqxRbUJ48PLj emLZbKzbBKngWKkVrmhlpn4/mWkkQwbZ/g00iUASvQi8fV+VRj83L6ByOg0ykN4jAi hPdNdIjASyz7M8CPTMoWqIvxrMGHDaiDkxZtTZCw= Date: Wed, 17 Apr 2024 10:17:21 +0200 From: Greg KH To: Saurabh Sengar Cc: kys@microsoft.com, haiyangz@microsoft.com, wei.liu@kernel.org, decui@microsoft.com, linux-kernel@vger.kernel.org, linux-hyperv@vger.kernel.org, ssengar@microsoft.com Subject: Re: [PATCH] tools: hv: suppress the invalid warning for packed member alignment Message-ID: <2024041708-juror-briskly-9c86@gregkh> References: <1713340848-6901-1-git-send-email-ssengar@linux.microsoft.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1713340848-6901-1-git-send-email-ssengar@linux.microsoft.com> On Wed, Apr 17, 2024 at 01:00:48AM -0700, Saurabh Sengar wrote: > Packed struct vmbus_bufring is 4096 byte aligned and the reporting > warning is for the first member of that struct which shouldn't add > any offset to create alignment issue. > > Suppress the warning by adding -Wno-address-of-packed-member flag to > gcc. > > Reported-by: kernel test robot > Closes: https://lore.kernel.org/all/202404121913.GhtSoKbW-lkp@intel.com/ > Signed-off-by: Saurabh Sengar What commit id does this fix? thanks, greg k-h