• L
    RDMA/netlink: clean up message validity array initializer · 015a9e66
    Linus Torvalds 提交于
    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: NLinus Torvalds <torvalds@linux-foundation.org>
    015a9e66
netlink.c 7.8 KB