linux/arch/arc
Shahab Vahedi dd6a403795 ARC, bpf: Fix issues reported by the static analyzers
Also updated couple of comments along the way.

One of the issues reported was indeed a bug in the code:

  memset(ctx, 0, sizeof(ctx))      // original line
  memset(ctx, 0, sizeof(*ctx))     // fixed line

That was a nice catch.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202405222314.UG5F2NHn-lkp@intel.com/
Closes: https://lore.kernel.org/oe-kbuild-all/202405232036.Xqoc3b0J-lkp@intel.com/
Signed-off-by: Shahab Vahedi <shahab@synopsys.com>
Link: https://lore.kernel.org/r/20240525035628.1026-1-list+bpf@vahedi.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
2024-05-25 10:47:21 -07:00
..
boot ARC: [plat-hsdk]: Remove misplaced interrupt-cells property 2024-04-16 10:45:57 -07:00
configs
include ARC: Fix typos 2024-04-01 18:40:39 -07:00
kernel ARC: Fix typos 2024-04-01 18:40:39 -07:00
lib
mm ARC: Fix typos 2024-04-01 18:40:39 -07:00
net ARC, bpf: Fix issues reported by the static analyzers 2024-05-25 10:47:21 -07:00
plat-axs10x
plat-hsdk
plat-sim
plat-tb10x
Kbuild ARC: Add eBPF JIT support 2024-05-12 16:51:36 -07:00
Kconfig bpf-next-for-netdev 2024-05-13 16:41:10 -07:00
Kconfig.debug
Makefile