commit | c7282b501f22a21ac8dfb6d3856aa1a92a7df5d5 | [log] [tgz] |
---|---|---|
author | Parav Pandit <parav@mellanox.com> | Fri Aug 30 05:39:44 2019 -0500 |
committer | David S. Miller <davem@davemloft.net> | Sat Aug 31 23:46:13 2019 -0700 |
tree | cecb6d66bbc96d379c9b72b231653c41edc07534 | |
parent | 1b6ca07b68797e18a5eb04359e47620780df3ea0 [diff] |
devlink: Make port index data type as unsigned int Devlink port index attribute is returned to users as u32 through netlink response. Change index data type from 'unsigned' to 'unsigned int' to avoid below checkpatch.pl warning. WARNING: Prefer 'unsigned int' to bare use of 'unsigned' 81: FILE: include/net/devlink.h:81: + unsigned index; Acked-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: Parav Pandit <parav@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>