Re: [PATCH] um: use ARRAY_SIZE to calculate the length of an array
From: Johannes Berg
Date: Mon Dec 08 2025 - 02:38:53 EST
On Mon, 2025-12-08 at 10:37 +0800, Chen Changcheng wrote:
> cocci warnings: (new ones prefixed by >>)
> > > arch/um/kernel/skas/stub_exe.c:180:23-24: WARNING: Use ARRAY_SIZE
>
> Fixes: 406d17c6c370 ("um: Implement kernel side of SECCOMP based process handling")
> Reported-by: kernel test robot <lkp@xxxxxxxxx>
> Closes: https://lore.kernel.org/oe-kbuild-all/202512080556.BbmGuwU4-lkp@xxxxxxxxx/
Pro-tip: build your patches *before* submitting them and looking like an
idiot.
johannes