Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) (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 27B6A1FA9 for ; Tue, 20 Jun 2023 05:38:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=date:from:to:cc:subject:message-id:mime-version; bh=pScoDydckRzyRGchaCepeer7rRSenq0ZlGdA+uIoGoo=; b=fGwCWJX+/MLVO1Mj3M0IcSlthF0gPL0CZs81ygyg9UlXUqLQWJSwG2MH U0WQvzyRDmbD35Qg/zUw+91a7uVBDBbLzs9Lq90xAdYX3jNsFex0ogpqm Vp5RGpXCIM1f/6CYe0qfoXjV+cwM3jUh9DZuvPqUY3u6IJWaX3Bf5AcTo U=; Authentication-Results: mail3-relais-sop.national.inria.fr; dkim=none (message not signed) header.i=none; spf=SoftFail smtp.mailfrom=julia.lawall@inria.fr; dmarc=fail (p=none dis=none) d=inria.fr X-IronPort-AV: E=Sophos;i="6.00,256,1681164000"; d="scan'208";a="59189220" Received: from 231.85.89.92.rev.sfr.net (HELO hadrien) ([92.89.85.231]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Jun 2023 07:38:16 +0200 Date: Tue, 20 Jun 2023 07:38:16 +0200 (CEST) From: Julia Lawall X-X-Sender: jll@hadrien To: Joel Granados cc: oe-kbuild-all@lists.linux.dev Subject: [joelgranados:jag/sysctl-testing-for-0day 25/35] arch/arm64/kernel/armv8_deprecated.c:56:18-24: WARNING use flexible-array member instead (https://www.kernel.org/doc/html/latest/process/deprecated.html#zero-length-and-one-element-arrays) (fwd) Message-ID: User-Agent: Alpine 2.22 (DEB 394 2020-01-19) Precedence: bulk X-Mailing-List: oe-kbuild-all@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII ---------- Forwarded message ---------- Date: Tue, 20 Jun 2023 13:14:57 +0800 From: kernel test robot To: oe-kbuild@lists.linux.dev Cc: lkp@intel.com, Julia Lawall Subject: [joelgranados:jag/sysctl-testing-for-0day 25/35] arch/arm64/kernel/armv8_deprecated.c:56:18-24: WARNING use flexible-array member instead (https://www.kernel.org/doc/html/latest/process/deprecated.html#zero-length- and-one-element-arrays) BCC: lkp@intel.com CC: oe-kbuild-all@lists.linux.dev TO: Joel Granados tree: https://github.com/Joelgranados/linux.git jag/sysctl-testing-for-0day head: 2b49f8dc213b7691cb69000b5a3986f82eb064e8 commit: f002b0bcd6d09e496c1c8e39a430eafa5b96acdd [25/35] sysctl Remove end element in armv8_deprecated.c :::::: branch date: 18 hours ago :::::: commit date: 20 hours ago config: arm64-randconfig-c044-20230618 (https://download.01.org/0day-ci/archive/20230620/202306201323.r35D29tX-lkp@intel.com/config) compiler: aarch64-linux-gcc (GCC) 12.3.0 reproduce: (https://download.01.org/0day-ci/archive/20230620/202306201323.r35D29tX-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Reported-by: Julia Lawall | Closes: https://lore.kernel.org/r/202306201323.r35D29tX-lkp@intel.com/ cocci warnings: (new ones prefixed by >>) >> arch/arm64/kernel/armv8_deprecated.c:56:18-24: WARNING use flexible-array member instead (https://www.kernel.org/doc/html/latest/process/deprecated.html#zero-length-and-one-element-arrays) vim +56 arch/arm64/kernel/armv8_deprecated.c 587064b610c703 Punit Agrawal 2014-11-18 43 b4453cc8a7ebbd Mark Rutland 2022-10-19 44 struct insn_emulation { 587064b610c703 Punit Agrawal 2014-11-18 45 const char *name; 587064b610c703 Punit Agrawal 2014-11-18 46 enum legacy_insn_status status; 124c49b1b5d947 Mark Rutland 2022-10-19 47 bool (*try_emulate)(struct pt_regs *regs, 124c49b1b5d947 Mark Rutland 2022-10-19 48 u32 insn); 587064b610c703 Punit Agrawal 2014-11-18 49 int (*set_hw_mode)(bool enable); 124c49b1b5d947 Mark Rutland 2022-10-19 50 587064b610c703 Punit Agrawal 2014-11-18 51 int current_mode; 587064b610c703 Punit Agrawal 2014-11-18 52 int min; 587064b610c703 Punit Agrawal 2014-11-18 53 int max; 124c49b1b5d947 Mark Rutland 2022-10-19 54 f002b0bcd6d09e Joel Granados 2023-06-19 55 /* sysctl for this emulation */ f002b0bcd6d09e Joel Granados 2023-06-19 @56 struct ctl_table sysctl[1]; 587064b610c703 Punit Agrawal 2014-11-18 57 }; 587064b610c703 Punit Agrawal 2014-11-18 58 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki