]> git.baikalelectronics.ru Git - uboot.git/commit
net: rtl8169: Fix DMA minimal aligned compile warning in RISC-V
authorMinda Chen <minda.chen@starfivetech.com>
Thu, 20 Jul 2023 11:37:27 +0000 (19:37 +0800)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Wed, 2 Aug 2023 03:02:32 +0000 (11:02 +0800)
commit4a5608f8b3359fbb6c0638f380d771f8d5101acd
treeb8b56966ecd07e6b65f8bb16a6eb524d21472346
parentd9df4d9b0d156036fd2c50f52c457fadf96724b0
net: rtl8169: Fix DMA minimal aligned compile warning in RISC-V

For RISC-V architeture, hardware maintain the dcache coherency.
Software do not flush the cache. So even cache-line size larger
than descriptor size, driver can work.

Signed-off-by: Minda Chen <minda.chen@starfivetech.com>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
drivers/net/rtl8169.c