diff options
author | Shahab Vahedi | 2024-05-25 05:56:28 +0200 |
---|---|---|
committer | Alexei Starovoitov | 2024-05-25 10:47:21 -0700 |
commit | dd6a403795f0c7b5c566f86f2ee6b687278d3c1c (patch) | |
tree | 365a2e0e7266d9be0554f260d4bd58bf688a8f07 /net/8021q | |
parent | 590016ad83de770153a09151336d95544d6bd7ad (diff) |
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>
Diffstat (limited to 'net/8021q')
0 files changed, 0 insertions, 0 deletions