[PATCH] net: phy: ncsi: Correct the endian of the checksum

Dan Carpenter dan.carpenter at linaro.org
Mon Feb 5 16:04:38 CET 2024


On Mon, Feb 05, 2024 at 04:02:28PM +0800, Jacky Chou wrote:
> There is no need to perform the endian twice here.
> 
> Signed-off-by: Jacky Chou <jacky_chou at aspeedtech.com>

Reviewed-by: Dan Carpenter <dan.carpenter at linaro.org>
Fixes: f641a8ac93e0 ("phy: Add support for the NC-SI protocol")

How did this ever work?  Was this always tested on big endian hardware
or was nothing verifying the checksums?

regards,
dan carpenter



More information about the U-Boot mailing list