Received: by 2002:ab2:23c8:0:b0:1f2:fdbc:cb93 with SMTP id a8csp76845lqe; Tue, 26 Mar 2024 21:48:30 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUm/p6LCzJ+Q6l3AE3vHgilj4RWDHBaXDwOsHohsdxiagY9OjroqxuBxpJwFmvPYzBh3fSQFvLvMr5n2GsIVBNEozDYA1roPb9s0J4zig== X-Google-Smtp-Source: AGHT+IFroZFOebY50RkQvqzLpm01HrHRPk/umlBl+V8SBojLhILOgxF9UeX5mAJVv3NJqyPfR/wT X-Received: by 2002:a05:6830:150b:b0:6e6:f301:dc30 with SMTP id k11-20020a056830150b00b006e6f301dc30mr838423otp.33.1711514910555; Tue, 26 Mar 2024 21:48:30 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711514910; cv=pass; d=google.com; s=arc-20160816; b=eqOeJeyTaJEHV1tehdaO0iAXP7u3IJs1of/loc2TjfFpLwMRGPl+25Bjgdfcyr4nhD cv8a6rQhSCiLD89zakicRjyTK9jYUYYvifJnm/dsvfxAs3xoh1BksmcmjoBjk1XJQgKr I87Tq7EoN3UNuerV27RJlZyy/gKWg9xL5g3iJBXd0N52AWGKx6CGbt+ZZTnvSMJGN0jP 6kjtp1IwyKcKLvVDnpURu1knmXpN+FIImVLxBjybeWAUgFYdV+pJXxK7CLgthY2co5Tv RDg7vqbFudFALFk//H+09e/iD4bnMVqX30G3SKsMazS6FmKyyuglkrhyWexFqNTLi4IW WI2Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:date:message-id:from:subject :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=MiOytK58+AIGbgFhmi/eakXsrS1vwwcbrMKVIBMjczU=; fh=Dyde6MowK9leGxxdsx9ZDr8i/+srcUDcfdB/6YJY+A4=; b=0+4gVqO5EqvAZNwHZkcCT6NaSyYPuBp9C6WrT5MDBh8aeGiWIIrJBLsj7aXxV4sgka Ed8BoTeXE33x9sCxiLIFHkxjByCHp+hFqya4Wfw2UBqQu5HgSQrbx2sr7p8JBBi9K2Rm NoaesVDMCAjXBwSnVp8Ne3knhjW77quaNJ4XyRD1OphDCwaElvhE82Sblm6HzaEQRGBT es9oW5Wu4Zgt0f2nQ0iy2kDHw58dyapzWk7UxeTOMFL3cbO9z/u3hrD4D8ps/4u5g8GS 9yNSE/JIYBdQogOcJemcaL0vYiMQITvLo5aEYI/MCRHFr0AHeqhC8YyjWWlDZIlq82A/ y/9A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=hyZXtotP; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-120302-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-120302-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.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 s6-20020a635246000000b005cdf37c9c29si10864538pgl.703.2024.03.26.21.48.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Mar 2024 21:48:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-120302-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=@kernel.org header.s=k20201202 header.b=hyZXtotP; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-120302-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-120302-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.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 BCF632832BB for ; Wed, 27 Mar 2024 04:48:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7FD5B568A; Wed, 27 Mar 2024 04:48:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="hyZXtotP" 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 9B3031849; Wed, 27 Mar 2024 04:48:08 +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=1711514888; cv=none; b=J50XKCcXejKfgZNVXSXHFY8gz+xdjPw0yX5MXJd0vo0cBXxDjXbcUIsdR8P6ivJHShGe5w8y7QLveZe9T5Y6Lre/++KIH227r1OuhoXUwOi0DRsTFmviw7ur6IDWzju0v+LpaJTQvxyAlJJSM7qSpwVlKkpGyeGK9DFCFwEw2Vc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711514888; c=relaxed/simple; bh=amR80G+fWUvqxS+sCOmX8ddrgfYtW+7QXa6cvF1GKWo=; h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; b=jepGdNc/f/YLVlk+KD/i4zbS9da65hzsZzK53UJTbYzb5C7zrl+Ip9ffamOCn8eNOlk41CJxTW1YfXeGkLTpU7h6gz7Qe/voiEqwfGoH9V/gVQ6fsitDwEOEDJm8wS3nPwjtK7VndZsVC00nHGn4z7CmUJqZ2xGkMCIfv0e4PvI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=hyZXtotP; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id 232FEC433F1; Wed, 27 Mar 2024 04:48:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711514888; bh=amR80G+fWUvqxS+sCOmX8ddrgfYtW+7QXa6cvF1GKWo=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=hyZXtotPoyQmlKERlSCQx+Xekly6BsW2qnLoz1TfiHfxRLir++wEx6hMthVQA7uDZ XEqVTL22mHmJzP/8BTpe7ybD8xtFZfJr2hJIGX/OSiYMRWBwyTPKXzInXTMV9SY0o5 2T5/GcrzvwIvuvkM2LVhL7M2O3JkFLzjN3FiIispLtwm5ayC2f3BbBdhuWQkXkDs+T GgfcjeM7XeAaS6ECGMonZKf8zA00/QtFfXR4u+OoicoIZurw0bOzN9iQsWzMutn9zt vN47UxgxGsSuDM+NV/jj2kVyy20pBGENM3UFEKPrrmK/BYYIUxAMyeOKeWi5H3SdRP FDpbFEjAs9J3A== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id 11546D2D0EB; Wed, 27 Mar 2024 04:48:08 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH][next] platform/chrome: cros_ec_proto: avoid -Wflex-array-member-not-at-end warnings From: patchwork-bot+chrome-platform@kernel.org Message-Id: <171151488806.812.14417613721582434618.git-patchwork-notify@kernel.org> Date: Wed, 27 Mar 2024 04:48:08 +0000 References: In-Reply-To: To: Gustavo A. R. Silva Cc: bleung@chromium.org, tzungbi@kernel.org, groeck@chromium.org, chrome-platform@lists.linux.dev, linux-kernel@vger.kernel.org, linux-hardening@vger.kernel.org Hello: This patch was applied to chrome-platform/linux.git (for-kernelci) by Tzung-Bi Shih : On Tue, 26 Mar 2024 12:55:10 -0600 you wrote: > Use the `DEFINE_RAW_FLEX()` helper for an on-stack definition of > a flexible structure where the size of the flexible-array member > is known at compile-time, and refactor the rest of the code, > accordingly. > > So, with these changes, fix the following warning: > drivers/platform/chrome/cros_ec_proto_test.c:1547:40: warning: structure containing a flexible array member is not at the end of another structure [-Wflex-array-member-not-at-end] > drivers/platform/chrome/cros_ec_proto_test.c:1607:40: warning: structure containing a flexible array member is not at the end of another structure [-Wflex-array-member-not-at-end] > drivers/platform/chrome/cros_ec_proto_test.c:1645:40: warning: structure containing a flexible array member is not at the end of another structure [-Wflex-array-member-not-at-end] > drivers/platform/chrome/cros_ec_proto_test.c:1668:40: warning: structure containing a flexible array member is not at the end of another structure [-Wflex-array-member-not-at-end] > > [...] Here is the summary with links: - [next] platform/chrome: cros_ec_proto: avoid -Wflex-array-member-not-at-end warnings https://git.kernel.org/chrome-platform/c/6c85a13b133f You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html