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)
PATCH 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)
---------- Forwarded message ----------
Date: Tue, 20 Jun 2023 13:14:57 +0800
From: kernel test robot <[email protected]>
To: [email protected]
Cc: [email protected], Julia Lawall <[email protected]>
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: [email protected]
CC: [email protected]
TO: Joel Granados <[email protected]>
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/[email protected]/config)
compiler: aarch64-linux-gcc (GCC) 12.3.0
reproduce: (https://download.01.org/0day-ci/archive/20230620/[email protected]/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 <[email protected]> | Reported-by: Julia Lawall <[email protected]> | Closes: https://lore.kernel.org/r/[email protected]/
cocci warnings: (new ones prefixed by >>)
Quoted 1 line
Quoted 1 line
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
Signature · 2 lines
0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki