]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
Merge branch 'smsc-w-1-warning-fixes'
authorJakub Kicinski <kuba@kernel.org>
Thu, 12 Nov 2020 22:49:42 +0000 (14:49 -0800)
committerJakub Kicinski <kuba@kernel.org>
Thu, 12 Nov 2020 22:49:43 +0000 (14:49 -0800)
commit203cb737fbe09cc6b57d4bd46be7977e72d49281
tree369e083a8a4977c9a4c288bb38b343f0b733e490
parentcef211968c2dad7d6bc9ee136c16272eb18b5632
parent7958ba7e6273a02f49432a2506958d0f59b5b8da
Merge branch 'smsc-w-1-warning-fixes'

Andrew Lunn says:

====================
smsc W=1 warning fixes

Fixup various W=1 warnings, and then add COMPILE_TEST support, which
explains why these where missed on the previous pass.

v2:
Use while (0)
Rework buffer alignment to make it clearer

v3:
Access the length from the hardware and Use __always_unused to tell the
compiler we want to discard the value.
====================

Link: https://lore.kernel.org/r/20201110030248.1480413-1-andrew@lunn.ch
Signed-off-by: Jakub Kicinski <kuba@kernel.org>