]> git.baikalelectronics.ru Git - kernel.git/commit
r8169: make use of the unaligned access helpers
authorHeiner Kallweit <hkallweit1@gmail.com>
Sat, 9 Jan 2021 22:53:26 +0000 (23:53 +0100)
committerJakub Kicinski <kuba@kernel.org>
Tue, 12 Jan 2021 00:54:30 +0000 (16:54 -0800)
commitbf84356ad3f3b8d754aec2e07c219a784f859cbc
treea575298a262e38ec2aadb9609217a44c138583bf
parent17b10baa3ad24acf5651018838b218f2afd0500d
r8169: make use of the unaligned access helpers

Instead of open-coding unaligned access let's use the predefined
unaligned access helpers.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Link: https://lore.kernel.org/r/cfaf9176-e4f9-c32d-4d4d-e8fb52009f35@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/realtek/r8169_main.c