[PATCH] um: use ARRAY_SIZE to calculate the length of an array
Johannes Berg
johannes at sipsolutions.net
Sun Dec 7 23:35:07 PST 2025
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 at intel.com>
> Closes: https://lore.kernel.org/oe-kbuild-all/202512080556.BbmGuwU4-lkp@intel.com/
Pro-tip: build your patches *before* submitting them and looking like an
idiot.
johannes
More information about the linux-um
mailing list