All of lore.kernel.org
 help / color / mirror / Atom feed
* kernel/bpf/task_iter.c:819:7-15: WARNING use flexible-array member instead (https://www.kernel.org/doc/html/latest/process/deprecated.html#zero-length-and-one-element-arrays)
@ 2023-12-05 20:53 kernel test robot
  0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2023-12-05 20:53 UTC (permalink / raw)
  To: oe-kbuild; +Cc: lkp, Julia Lawall

BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
CC: linux-kernel@vger.kernel.org
TO: Dave Marchevsky <davemarchevsky@fb.com>
CC: Andrii Nakryiko <andrii@kernel.org>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   bee0e7762ad2c6025b9f5245c040fcc36ef2bde8
commit: 4ac4546821584736798aaa9e97da9f6eaf689ea3 bpf: Introduce task_vma open-coded iterator kfuncs
date:   8 weeks ago
:::::: branch date: 23 hours ago
:::::: commit date: 8 weeks ago
config: x86_64-randconfig-103-20231203 (https://download.01.org/0day-ci/archive/20231206/202312060415.D5Jbdf0R-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-12) 11.3.0
reproduce: (https://download.01.org/0day-ci/archive/20231206/202312060415.D5Jbdf0R-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 <lkp@intel.com>
| Reported-by: Julia Lawall <julia.lawall@inria.fr>
| Closes: https://lore.kernel.org/r/202312060415.D5Jbdf0R-lkp@intel.com/

cocci warnings: (new ones prefixed by >>)
>> kernel/bpf/task_iter.c:819:7-15: WARNING use flexible-array member instead (https://www.kernel.org/doc/html/latest/process/deprecated.html#zero-length-and-one-element-arrays)

vim +819 kernel/bpf/task_iter.c

4ac45468215847 Dave Marchevsky 2023-10-13  814  
4ac45468215847 Dave Marchevsky 2023-10-13  815  struct bpf_iter_task_vma {
4ac45468215847 Dave Marchevsky 2023-10-13  816  	/* opaque iterator state; having __u64 here allows to preserve correct
4ac45468215847 Dave Marchevsky 2023-10-13  817  	 * alignment requirements in vmlinux.h, generated from BTF
4ac45468215847 Dave Marchevsky 2023-10-13  818  	 */
4ac45468215847 Dave Marchevsky 2023-10-13 @819  	__u64 __opaque[1];
4ac45468215847 Dave Marchevsky 2023-10-13  820  } __attribute__((aligned(8)));
4ac45468215847 Dave Marchevsky 2023-10-13  821  

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] 4+ messages in thread

* kernel/bpf/task_iter.c:819:7-15: WARNING use flexible-array member instead (https://www.kernel.org/doc/html/latest/process/deprecated.html#zero-length-and-one-element-arrays)
@ 2024-10-13  4:55 kernel test robot
  0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2024-10-13  4:55 UTC (permalink / raw)
  To: oe-kbuild; +Cc: lkp, Julia Lawall

BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
CC: linux-kernel@vger.kernel.org
TO: Dave Marchevsky <davemarchevsky@fb.com>
CC: Andrii Nakryiko <andrii@kernel.org>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   36c254515dc6592c44db77b84908358979dd6b50
commit: 4ac4546821584736798aaa9e97da9f6eaf689ea3 bpf: Introduce task_vma open-coded iterator kfuncs
date:   1 year ago
:::::: branch date: 5 hours ago
:::::: commit date: 1 year ago
config: alpha-randconfig-r054-20241012 (https://download.01.org/0day-ci/archive/20241013/202410131204.gZ860pFN-lkp@intel.com/config)
compiler: alpha-linux-gcc (GCC) 13.3.0

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 <lkp@intel.com>
| Reported-by: Julia Lawall <julia.lawall@inria.fr>
| Closes: https://lore.kernel.org/r/202410131204.gZ860pFN-lkp@intel.com/

cocci warnings: (new ones prefixed by >>)
>> kernel/bpf/task_iter.c:819:7-15: WARNING use flexible-array member instead (https://www.kernel.org/doc/html/latest/process/deprecated.html#zero-length-and-one-element-arrays)

vim +819 kernel/bpf/task_iter.c

4ac45468215847 Dave Marchevsky 2023-10-13  814  
4ac45468215847 Dave Marchevsky 2023-10-13  815  struct bpf_iter_task_vma {
4ac45468215847 Dave Marchevsky 2023-10-13  816  	/* opaque iterator state; having __u64 here allows to preserve correct
4ac45468215847 Dave Marchevsky 2023-10-13  817  	 * alignment requirements in vmlinux.h, generated from BTF
4ac45468215847 Dave Marchevsky 2023-10-13  818  	 */
4ac45468215847 Dave Marchevsky 2023-10-13 @819  	__u64 __opaque[1];
4ac45468215847 Dave Marchevsky 2023-10-13  820  } __attribute__((aligned(8)));
4ac45468215847 Dave Marchevsky 2023-10-13  821  

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] 4+ messages in thread

* kernel/bpf/task_iter.c:819:7-15: WARNING use flexible-array member instead (https://www.kernel.org/doc/html/latest/process/deprecated.html#zero-length-and-one-element-arrays)
@ 2024-10-31  5:52 kernel test robot
  0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2024-10-31  5:52 UTC (permalink / raw)
  To: oe-kbuild; +Cc: lkp, Julia Lawall

BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
CC: linux-kernel@vger.kernel.org
TO: Dave Marchevsky <davemarchevsky@fb.com>
CC: Andrii Nakryiko <andrii@kernel.org>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   0fc810ae3ae110f9e2fcccce80fc8c8d62f97907
commit: 4ac4546821584736798aaa9e97da9f6eaf689ea3 bpf: Introduce task_vma open-coded iterator kfuncs
date:   1 year, 1 month ago
:::::: branch date: 8 hours ago
:::::: commit date: 1 year, 1 month ago
config: i386-randconfig-051-20241031 (https://download.01.org/0day-ci/archive/20241031/202410311319.sJYbhKzn-lkp@intel.com/config)
compiler: clang version 19.1.2 (https://github.com/llvm/llvm-project 7ba7d8e2f7b6445b60679da826210cdde29eaf8b)

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 <lkp@intel.com>
| Reported-by: Julia Lawall <julia.lawall@inria.fr>
| Closes: https://lore.kernel.org/r/202410311319.sJYbhKzn-lkp@intel.com/

cocci warnings: (new ones prefixed by >>)
>> kernel/bpf/task_iter.c:819:7-15: WARNING use flexible-array member instead (https://www.kernel.org/doc/html/latest/process/deprecated.html#zero-length-and-one-element-arrays)

vim +819 kernel/bpf/task_iter.c

4ac454682158473 Dave Marchevsky 2023-10-13  814  
4ac454682158473 Dave Marchevsky 2023-10-13  815  struct bpf_iter_task_vma {
4ac454682158473 Dave Marchevsky 2023-10-13  816  	/* opaque iterator state; having __u64 here allows to preserve correct
4ac454682158473 Dave Marchevsky 2023-10-13  817  	 * alignment requirements in vmlinux.h, generated from BTF
4ac454682158473 Dave Marchevsky 2023-10-13  818  	 */
4ac454682158473 Dave Marchevsky 2023-10-13 @819  	__u64 __opaque[1];
4ac454682158473 Dave Marchevsky 2023-10-13  820  } __attribute__((aligned(8)));
4ac454682158473 Dave Marchevsky 2023-10-13  821  

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] 4+ messages in thread

* kernel/bpf/task_iter.c:819:7-15: WARNING use flexible-array member instead (https://www.kernel.org/doc/html/latest/process/deprecated.html#zero-length-and-one-element-arrays)
@ 2024-12-18 18:53 kernel test robot
  0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2024-12-18 18:53 UTC (permalink / raw)
  To: oe-kbuild; +Cc: lkp, Julia Lawall

BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
CC: linux-kernel@vger.kernel.org
TO: Dave Marchevsky <davemarchevsky@fb.com>
CC: Andrii Nakryiko <andrii@kernel.org>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   aef25be35d23ec768eed08bfcf7ca3cf9685bc28
commit: 4ac4546821584736798aaa9e97da9f6eaf689ea3 bpf: Introduce task_vma open-coded iterator kfuncs
date:   1 year, 2 months ago
:::::: branch date: 21 hours ago
:::::: commit date: 1 year, 2 months ago
config: hexagon-randconfig-r051-20241218 (https://download.01.org/0day-ci/archive/20241219/202412190225.RFIAITmI-lkp@intel.com/config)
compiler: clang version 20.0.0git (https://github.com/llvm/llvm-project 2dc22615fd46ab2566d0f26d5ba234ab12dc4bf8)

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 <lkp@intel.com>
| Reported-by: Julia Lawall <julia.lawall@inria.fr>
| Closes: https://lore.kernel.org/r/202412190225.RFIAITmI-lkp@intel.com/

cocci warnings: (new ones prefixed by >>)
>> kernel/bpf/task_iter.c:819:7-15: WARNING use flexible-array member instead (https://www.kernel.org/doc/html/latest/process/deprecated.html#zero-length-and-one-element-arrays)

vim +819 kernel/bpf/task_iter.c

4ac45468215847 Dave Marchevsky 2023-10-13  814  
4ac45468215847 Dave Marchevsky 2023-10-13  815  struct bpf_iter_task_vma {
4ac45468215847 Dave Marchevsky 2023-10-13  816  	/* opaque iterator state; having __u64 here allows to preserve correct
4ac45468215847 Dave Marchevsky 2023-10-13  817  	 * alignment requirements in vmlinux.h, generated from BTF
4ac45468215847 Dave Marchevsky 2023-10-13  818  	 */
4ac45468215847 Dave Marchevsky 2023-10-13 @819  	__u64 __opaque[1];
4ac45468215847 Dave Marchevsky 2023-10-13  820  } __attribute__((aligned(8)));
4ac45468215847 Dave Marchevsky 2023-10-13  821  

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-12-18 18:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-18 18:53 kernel/bpf/task_iter.c:819:7-15: WARNING use flexible-array member instead (https://www.kernel.org/doc/html/latest/process/deprecated.html#zero-length-and-one-element-arrays) kernel test robot
  -- strict thread matches above, loose matches on Subject: below --
2024-10-31  5:52 kernel test robot
2024-10-13  4:55 kernel test robot
2023-12-05 20:53 kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.