]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
net: vxget: clean up sparse warnings
authorJakub Kicinski <kuba@kernel.org>
Sat, 12 Dec 2020 23:44:26 +0000 (15:44 -0800)
committerJakub Kicinski <kuba@kernel.org>
Tue, 15 Dec 2020 03:18:11 +0000 (19:18 -0800)
commit8163962aadde4ab23ec794f30bf4972325bd6439
tree9be8afcf69717db3fdfd3211f371e13863bdf45e
parentb024875607407ad7aad939e37a3c11b6d37ca5af
net: vxget: clean up sparse warnings

This code is copying strings in 64 bit quantities, the device
returns them in big endian. As long as we store in big endian
IOW endian on both sides matches, we're good, so swap to_be64,
not from be64.

This fixes ~60 sparse warnings.

Link: https://lore.kernel.org/r/20201212234426.177015-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/neterion/vxge/vxge-config.c