diff options
| author | Shahab Vahedi <[email protected]> | 2024-05-25 03:56:28 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2024-05-25 17:47:21 +0000 |
| commit | dd6a403795f0c7b5c566f86f2ee6b687278d3c1c (patch) | |
| tree | 365a2e0e7266d9be0554f260d4bd58bf688a8f07 /drivers/net/netkit.c | |
| parent | Merge branch 'fix-bpf-multi-uprobe-pid-filtering-logic' (diff) | |
| download | kernel-dd6a403795f0c7b5c566f86f2ee6b687278d3c1c.tar.gz kernel-dd6a403795f0c7b5c566f86f2ee6b687278d3c1c.zip | |
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 <[email protected]>
Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
Signed-off-by: Shahab Vahedi <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'drivers/net/netkit.c')
0 files changed, 0 insertions, 0 deletions
