Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp3988277rwb; Tue, 6 Sep 2022 00:11:30 -0700 (PDT) X-Google-Smtp-Source: AA6agR5+Qh1Ip4FJcoTHIRJ/kg7AAJDrSu02Mz4PugQP/yKiVPyu68eWhOXZVPsato14eSJr+jzq X-Received: by 2002:a17:907:7d8f:b0:732:9d6c:4373 with SMTP id oz15-20020a1709077d8f00b007329d6c4373mr36002641ejc.493.1662448290462; Tue, 06 Sep 2022 00:11:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662448290; cv=none; d=google.com; s=arc-20160816; b=IS760t5CCx/ogWxTeiyQL8NwOEQrO8yFsM+UZD+nuyhTJfgHjmoaj0BapQOkdpbMv4 15fLPUj2yK9MlpoLigL7t4aV4sDCFFV1aR8bVmsu36zyfmlU9era7ly9vrA6hUJdZAI4 z3YknxWvccb10yqe5orDXbgT7MOzBMT1ribU3DTmgkCYqVO089M6xzDgeAPM28SEPt0D aJgGJrlLTRmSRi909e7awmu53pqL1CWJM26FILzooVFe2petFf5JrFwlk1BaepjgKpaK wQXDE1D0kIQu5d26/SlQbrBd024w4QLVUcXuow8VCFIu7xk+dQDOlOsX7QUH5Qczv8SV TQtw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=dxWs4HQFNR0ZvewF9nCEryMb37Uz2aR4aiGZzc6smPM=; b=ISvPM4mpiCPPZzQXkOsT/0a2Bv05svJD/Ve7bAEM9lgkR9BMjpwxIctbuur3CaFIxm dNU0nLA0GjeYcyQWcVOg84dSj77CHbwm7m8zymTdwICWm9g0LR+ylbkgIrulNWYJnsUu c4CvAQyJf2ov+jOc7ZUbXlNcsKC3U3kzxL2fPkOZcL4Fc3qB7AzHeyfnvRk+uJOTA2fw js4khCVhgrtqTXkwzmh8ahuRerpd7d0VXP2DWEhwsYDb3B3IccVW6nrrqaDilCzBA8jF 2u9+Ax+PoD7I+Ur2OHOArjsG5+SOCUJoGvldIyeiemn9LB3tc2au/NOUhjMQrWwUJ2ax vTPw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id mp23-20020a1709071b1700b007415dd5c91csi10700085ejc.643.2022.09.06.00.11.05; Tue, 06 Sep 2022 00:11:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233083AbiIFGaT (ORCPT + 99 others); Tue, 6 Sep 2022 02:30:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51030 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232873AbiIFGaS (ORCPT ); Tue, 6 Sep 2022 02:30:18 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0ADB322B3D for ; Mon, 5 Sep 2022 23:30:17 -0700 (PDT) Received: from gallifrey.ext.pengutronix.de ([2001:67c:670:201:5054:ff:fe8d:eefb] helo=bjornoya.blackshift.org) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oVS5y-0006S3-TP; Tue, 06 Sep 2022 08:30:02 +0200 Received: from pengutronix.de (unknown [IPv6:2a0a:edc0:0:701:a3ba:d49d:1749:550]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: mkl-all@blackshift.org) by smtp.blackshift.org (Postfix) with ESMTPSA id C2AF9DB56C; Tue, 6 Sep 2022 06:30:00 +0000 (UTC) Date: Tue, 6 Sep 2022 08:29:58 +0200 From: Marc Kleine-Budde To: "Gustavo A. R. Silva" Cc: Vincent Mailhol , Wolfgang Grandegger , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , linux-can@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-hardening@vger.kernel.org Subject: Re: [PATCH][next] can: etas_es58x: Replace zero-length array with DECLARE_FLEX_ARRAY() helper Message-ID: <20220906062958.bevxqhg3azvkky5l@pengutronix.de> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="fzdtkz7rshitpii6" Content-Disposition: inline In-Reply-To: X-SA-Exim-Connect-IP: 2001:67c:670:201:5054:ff:fe8d:eefb X-SA-Exim-Mail-From: mkl@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --fzdtkz7rshitpii6 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 29.08.2022 16:50:59, Gustavo A. R. Silva wrote: > Zero-length arrays are deprecated and we are moving towards adopting > C99 flexible-array members, instead. So, replace zero-length array > declaration in union es58x_urb_cmd with the new DECLARE_FLEX_ARRAY() > helper macro. >=20 > This helper allows for a flexible-array member in a union. >=20 > Link: https://github.com/KSPP/linux/issues/193 > Link: https://gcc.gnu.org/onlinedocs/gcc/Zero-Length.html > Signed-off-by: Gustavo A. R. Silva Applied to linux-can-next. Thanks, Marc --=20 Pengutronix e.K. | Marc Kleine-Budde | Embedded Linux | https://www.pengutronix.de | Vertretung West/Dortmund | Phone: +49-231-2826-924 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | --fzdtkz7rshitpii6 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEBsvAIBsPu6mG7thcrX5LkNig010FAmMW6OMACgkQrX5LkNig 010r6wf+K9aVetaGedEST1E6cBqeWfNruF0sfYhbgsJjK/8Omrpz67b5yTJZU8vH 4d6LCf9swiZlfyOg7rs5gPa5kqtlqwht9GDxW6B1JjPIIXTAw603e8kqI0JKzLo8 VJ3BPoWYy9FM/oMwtgiGTiAM+gmiXNOyCLBm+lkFbpNTXY+/kUjnttRGg5DOXQWW Ki2LUQO/hhDis4u1Cm1fFSqkTm4rGMURufm+eVDLGN6QAiegVJ4NiF6drLzUGx23 L3wXQysf8zXzhH/r6UrxLK4PyQN3IgDo3ZGhoqM4iFLl2wta9ESN/y96NJk8MYxw QceEIjFLM6SJlM0lXvngUt7T/fSRvQ== =JFZH -----END PGP SIGNATURE----- --fzdtkz7rshitpii6--