From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8116CC433E0 for ; Tue, 9 Mar 2021 14:12:09 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 25A6665220 for ; Tue, 9 Mar 2021 14:12:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230140AbhCIOLf (ORCPT ); Tue, 9 Mar 2021 09:11:35 -0500 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:14928 "EHLO mail2-relais-roc.national.inria.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230320AbhCIOLd (ORCPT ); Tue, 9 Mar 2021 09:11:33 -0500 X-IronPort-AV: E=Sophos;i="5.81,234,1610406000"; d="scan'208";a="496964627" Received: from 173.121.68.85.rev.sfr.net (HELO hadrien) ([85.68.121.173]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 Mar 2021 15:11:04 +0100 Date: Tue, 9 Mar 2021 15:11:03 +0100 (CET) From: Julia Lawall X-X-Sender: jll@hadrien To: Greg Kroah-Hartman cc: Jiri Slaby , linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, Denis Efremov , kbuild-all@01.org Subject: Re: [PATCH] tty: max310x: fix flexible_array.cocci warnings In-Reply-To: Message-ID: References: User-Agent: Alpine 2.22 (DEB 394 2020-01-19) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-serial@vger.kernel.org On Tue, 9 Mar 2021, Greg Kroah-Hartman wrote: > On Mon, Mar 08, 2021 at 06:47:19PM +0100, Julia Lawall wrote: > > From: kernel test robot > > > > Zero-length and one-element arrays are deprecated, see > > Documentation/process/deprecated.rst > > Flexible-array members should be used instead. > > > > Generated by: scripts/coccinelle/misc/flexible_array.cocci > > > > Fixes: 7b36c1398fb6 ("coccinelle: misc: add flexible_array.cocci script") > > This can't be true, as the driver code did not change for that commit :( > > Can you provide the commit where the driver itself caused the problem? Sorry, 0-day seems to have a problem for the subject lines in some cases, and it seems that it has a problem for the Fixes lines as well. I will find the proper one. julia