]> 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)
commit03b6190fbe1145a5167323e9f7e305cf1f3f3e73
treea575298a262e38ec2aadb9609217a44c138583bf
parent9704a3c75bfaeaf379e4f0123e5231bdec956f6f
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