Received: by 2002:ab2:23c8:0:b0:1f2:fdbc:cb93 with SMTP id a8csp76834lqe; Tue, 26 Mar 2024 21:48:29 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUMbGPwHv0jbc4bTLh1HxP8GpQKVHhpYpvIv87E9yy6/Fv1jK6mma8CKjmo4NBK0JE16kjsNhT+EqbMokSD6LSAEiRYTemuCRbtKVVW/w== X-Google-Smtp-Source: AGHT+IHdiyJc7u7S1GMP8bdWgkCabpXPkbDbSNe1lEjIje7YFOb8674724mPhF5tlfiLpWqvyQZO X-Received: by 2002:a05:6808:1829:b0:3c3:b64c:8713 with SMTP id bh41-20020a056808182900b003c3b64c8713mr1631158oib.44.1711514908789; Tue, 26 Mar 2024 21:48:28 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711514908; cv=pass; d=google.com; s=arc-20160816; b=FyjRwIwypB6+bnQ6gCmHCAvdiT3pDQcbC9EQfyij2wcxf16b2Z2QETbzQqzKaLSYhO 8CNhA6PO3ymeEeDWx34zb2YBcS29UJ5u1ne5ujrfFM0tjUm1Dj5DYOgB6yBsgpHrMqYX 5LLu6Sy6i5Lk2WmF6/+GcEn4PWe/NJhvBmkpWW5DXTkTj0t1Ni8j6HsigkHP1bmPDd0/ ndL2AmXOE3jsc15/SX7vnapJ0ZhrEXw3IXLkR9LzoYHgojS4+m2GFGQ63KRmJPkAQjzY jiS5FbFVmGPyTB9KDlQRDw604MFtsXxifSYtpbwVY5GPKTJO0sgVPmwJMNKhXHA4tDDr cMog== 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=9iV+8Y2DTCDqfg9b2oGJzHkEUEhk4eH9LYzCllhgCsA=; fh=Dyde6MowK9leGxxdsx9ZDr8i/+srcUDcfdB/6YJY+A4=; b=As3D1ywxL1jQQqqruHdOHQxhiZ0rMmDVql8g+rgUH9oAB8DTCITInSHUW2ue7/LVeL 0WHMWBs85cyeLylya3rwDaUHJwyCwBUnuA43Zy9Y6Ra9utQa2iufoGpYFL14F/PqwWzd x3VxVVhUzDg6tYM82INWb3kvTLFw6v7bAC1zE6BT6UKegkaYlg1yzklOr+yJUUoaX1Hy 8m6Rqir9PdGCVoFvuqcv6/gn0ePnELVrSXE1/kFO+NJd5B2xLFz+9BnpuUB+aPwiS5lL XyEMv6BPDI68fC75JHj9KHZQXR71fQIqjfRGKL/5gF6IEO5hAvIUgDfpjHI2Fk4AWDRK 4VnA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=nq+fPVfj; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-120301-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-120301-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 k23-20020a628417000000b006eaaec3424fsi4854565pfd.186.2024.03.26.21.48.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Mar 2024 21:48:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-120301-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=nq+fPVfj; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-120301-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-120301-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 4C5DC28625A 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 7FCA7538A; 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="nq+fPVfj" 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 9B2D3639; 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=TJHrzNOFWz4xozHGtc7YrswaJ9l/q5JRlFYXqW365w8FG2ZYi4Tg3cegKPzAVqlo7uE8m7A91563FkPKqcsBdhLX2ycPaJHULc9/z9ozmoqcGKeVJ9bhW6ESZWEieB0hIwa/53RuRfw7+tdNi8t2XvedlFTKnTkRfOYUvGgHjEo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711514888; c=relaxed/simple; bh=uWAuppfKIv+6QPjw6eP0ZldkO7CbP2+7dJhYWeKcAwg=; h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; b=WwpujaZBM53IA1wEhsBajj6Y3VnzZdGh3aiUTXF7BRS3vJhNK8iyJKeBAav3Z4G1M8DXJG8OwIQJDubzegk9mN2vCycqDttfK073Q3oIDGcMlD30pPrPxAN/cl6lwMmy8NfQFLz6Y2s/O0en+x/47XCoG0oBBf5GblL6hF8jLIE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=nq+fPVfj; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id 4736AC433B1; 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=uWAuppfKIv+6QPjw6eP0ZldkO7CbP2+7dJhYWeKcAwg=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=nq+fPVfjlUx2zeMIapvrYl7TVkDJz8bJcwhxeBSr/WWIdYd9AcGXw4FkzEa0UCG+s pT/GU5Jb6XJS488ZLmcT1ZyfBVs2rI4ALg56S9EfU0hn0aEP4MOu1lRqsHT6XEYLTh W5ihMTLqxfh5FuaoujVyPk4n565x64o1NsNm2QswCKdLn7o/3kVxlz2QXEHJXrmtYu z6KZyf0YWcs1ZYT9CzeVWaLhp0q9B6F0GwMArvzcogAubuoNfXT8TI4zWCUgyQ4o5p G1TGw9WQLI5an4ekcUfi0NBgLsrIZqUPCQBcWws13gwb3dMxnRC+fzEBt+G7+2o+rQ YuLxPgncbF9og== 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 3D6E1D2D0EC; 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: <171151488824.812.5983218096761719498.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-next) 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