Received: by 2002:ab2:7b86:0:b0:1f7:5705:b850 with SMTP id q6csp510544lqh; Sat, 4 May 2024 09:48:01 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUJ03kJFmn577H8GYrL9PJGmdbVSNqfyyeKYFdO5zaYhO/741Z9g42wQYy+NUhenJrMJHccaGAdUtbZ0PFkX+dUDfaOFO2xr36UYAanYQ== X-Google-Smtp-Source: AGHT+IE7yBQoMgJ8DTpyzo7Fg2SeRSZonvZXs34PE7jpo+Q1aAASx8T3v+l0nr0uoCQcwcGY5Vri X-Received: by 2002:a05:6a21:3a84:b0:1af:939b:d477 with SMTP id zv4-20020a056a213a8400b001af939bd477mr1887308pzb.36.1714841281046; Sat, 04 May 2024 09:48:01 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714841281; cv=pass; d=google.com; s=arc-20160816; b=ee/8/rRloLhbY9OnS3M/ZPyCZLR+bUMjR9eVaJX7oNAlksi5GGn+EqdF44iWKSRXjV Vt4R7vf+Tw4IMc+yGBkcCIL7f4UK+XsfGWjjjm0LJgkOz/nZedFgMNosolHhFGfcyVEi wRbHwEMQntcNFGPV8qqCb7Ivn6WMFBMTL2gZsnbR08CSMNbwa+T5c3FQ8UusSAs+j8zN vqhYNbGSjCVUsphXkMgGRd7wiWuZGlEL80GdXKJRl1vE3KJXVhxJCwkzmTr5esBtW32p Xu2Q/4UvJ3scBcFC7zXZ3St9Mgnbwn4lYu7KnMkGPlvp+NYj6Ksap6FkMMrRpxB+GcVU w4rQ== 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=j2IclfKyKWHnRtFcoLmZpRp2Gq7HsqwRUrvtNJZXIYQ=; fh=FVXR7ep15cgO1pqJ//xVtMNKe4X+SI4hCBhYek0mPjs=; b=csBCphNHBOSBbVouDypQ5eYIyLHGjyuVESEV3EAiVNKdS6LKXVmhNepP/m7GtixyB8 R6VRYazrTMzCwzbXkcAKJalTiFBviSJoEY5QVjghLsVqabmnacwkYbDsJoqZgEwMEMnI C1+2qfO0w+KNF4UGTlJhs2DXx2MN1CNfzlF5+DCSk2iQc7UXWMcy6bgz0ci+ByGjIx5J 7s2j5XCuHu5wUqOjBVei3nP13mI+wSoMAE8lZpZC5g7eNV/fEBJ00m6U/YQdR9WTj8jy g+FtvYeDk840hUZg0N6JXqEZm5jkWvqrsoT0jA9+/vyTfJtEcjMTRtz7PKjhU9Wd8YEv D8ow==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=CCKg4H8A; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-168759-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-168759-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id b4-20020a62cf04000000b006f4402447f3si4663817pfg.186.2024.05.04.09.48.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 04 May 2024 09:48:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-168759-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=CCKg4H8A; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-168759-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-168759-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id A598C282636 for ; Sat, 4 May 2024 16:48:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 712025A11D; Sat, 4 May 2024 16:47:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="CCKg4H8A" 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 8ED734CB55; Sat, 4 May 2024 16:47:54 +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=1714841274; cv=none; b=LSKY5djyJAoeL6xF5drcDvEVcCU9HrJgGYRW68ElXnl56ffP4FtOPc6BfTvLSa79popLlsb/OAO9IwikekGcTkDztEp3rRr+MmPMt5JYQMazFEpM5diW2e+ykFqOLgyDeeyoaQ+2UeK9xovaHJWkASSJ8Bvn+aS5CkgY4Kd5Csw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714841274; c=relaxed/simple; bh=/vJle/oW4cppd9RU6K2OkI/iCss+7B9VEAlDQG+dpYE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Od5c7wH3SuTxsBc4xq4fOHG1Bx+9n4QK7HN8hHSxNNrz59/0nQ8LovqH6+IdE0rr+L6zTgSV6aqTg09nehwq74fv9AxL+Qde04N/zrow6hIheBx2n+wQRaFQY0omLP5ikEpAZAd7nxnrPJKcPoSRKZScvQeyTbS+bMxSLOXeAro= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=CCKg4H8A; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 93559C072AA; Sat, 4 May 2024 16:47:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1714841274; bh=/vJle/oW4cppd9RU6K2OkI/iCss+7B9VEAlDQG+dpYE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=CCKg4H8Al65CX2UvgGGDHeUK/z68FEa+EktqJu9JkNTR5/UPKUzQnL+57ZkfW7AHt OAWC5ND1jJmgu1P6UjAKA6went72tkDoRjDTZKpx1kCcQmX7msQSAZivnh7LL19B0n 9rUct6PiY6x0QzbHuhGRGhjKWOEtbsTuBa+tSYv8= Date: Sat, 4 May 2024 18:47:50 +0200 From: Greg KH To: Saurabh Singh 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: <2024050435-poise-muster-a52c@gregkh> References: <1713340848-6901-1-git-send-email-ssengar@linux.microsoft.com> <2024041708-juror-briskly-9c86@gregkh> <20240417082149.GA9867@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net> 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: <20240417082149.GA9867@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net> On Wed, Apr 17, 2024 at 01:21:49AM -0700, Saurabh Singh Sengar wrote: > On Wed, Apr 17, 2024 at 10:17:21AM +0200, Greg KH wrote: > > 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? > > Fixes: 45bab4d74651 ("tools: hv: Add vmbus_bufring") Great, please provide that in the next verion of this change you send out. thanks, greg k-h