net-sysfs: store the return of get_netdev_queue_index in an unsigned int
authorAntoine Tenart <atenart@kernel.org>
Thu, 18 Mar 2021 18:37:41 +0000 (19:37 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 18 Mar 2021 21:56:22 +0000 (14:56 -0700)
commitd9a063d207f0e538b0f5aa8b04a6c14f88906a6d
treeee4d15460eadb308d3e2937e1257ef5923d0db25
parentea4fe7e842f6c7f972d795a8efc167c4bb33b62f
net-sysfs: store the return of get_netdev_queue_index in an unsigned int

In net-sysfs, get_netdev_queue_index returns an unsigned int. Some of
its callers use an unsigned long to store the returned value. Update the
code to be consistent, this should only be cosmetic.

Signed-off-by: Antoine Tenart <atenart@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/net-sysfs.c