summaryrefslogtreecommitdiffstats
path: root/scripts/genksyms
diff options
context:
space:
mode:
authorLinus Torvalds2017-09-08 19:17:20 +0200
committerLinus Torvalds2017-09-08 19:17:20 +0200
commit015a9e66b9b8c1f28097ed09bf9350708e26249a (patch)
tree76a42209cd19527a917ee1d64ebcaf9a5410ad3b /scripts/genksyms
parentRDAM/netlink: Fix out-of-bound access while checking message validity (diff)
downloadkernel-qcow2-linux-015a9e66b9b8c1f28097ed09bf9350708e26249a.tar.gz
kernel-qcow2-linux-015a9e66b9b8c1f28097ed09bf9350708e26249a.tar.xz
kernel-qcow2-linux-015a9e66b9b8c1f28097ed09bf9350708e26249a.zip
RDMA/netlink: clean up message validity array initializer
The fix in the parent made me look at that function, and react to how illogical and illegible the array initializer was. Use named array indexes to make it clearer what is going on, and make the initializer not depend silently on the exact index numbers. [ The initializer now also shows an odd inconsistency in the naming: note the IWCM vs IWPM.. - Linus ] Cc: Leon Romanovsky <leonro@mellanox.com> Cc: Doug Ledford <dledford@redhat.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts/genksyms')
0 files changed, 0 insertions, 0 deletions