summaryrefslogtreecommitdiff
path: root/scripts/const_structs.checkpatch
diff options
context:
space:
mode:
authorMichelleJin <shjy180909@gmail.com>2021-09-27 06:34:55 +0300
committerDavid S. Miller <davem@davemloft.net>2021-09-28 14:59:24 +0300
commitd7cade513752968d894d4d73e0b08fe2d84d6d4b (patch)
tree723202b1057357819184ffc3a47f797f5df443c4 /scripts/const_structs.checkpatch
parenta17aafa3a416971bb5a17464f1c949e3de6d1b18 (diff)
downloadlinux-d7cade513752968d894d4d73e0b08fe2d84d6d4b.tar.xz
net/mlx5e: check return value of rhashtable_init
When rhashtable_init() fails, it returns -EINVAL. However, since error return value of rhashtable_init is not checked, it can cause use of uninitialized pointers. So, fix unhandled errors of rhashtable_init. Signed-off-by: MichelleJin <shjy180909@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions