]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1a22d1d3682880e82dc694ad736e6409500c8d90
treeee4d15460eadb308d3e2937e1257ef5923d0db25
parent314791dea4ad2c5268ce3ab28fb3b3c46030781b
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