View Issue Details

IDProjectCategoryView StatusLast Update
0005051UBootU-Bootpublic2021-10-28 14:23
Reporterderksen Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
Product Versionfsimx8mn-Y2021.09 
Target Versionfsimx6-B2021.10Fixed in Versionfsimx6-B2021.10 
Summary0005051: net: nfs: remove superfluous conversions
Descriptionnet: nfs: remove superfluous conversions is an array of uint32_t. There is no need to convert
it to uint32_t *.
memcpy() expects void * as it 1st and 2nd argument. There is no point in
converting pointers to char * before passing them to memcpy().

In ntohl(data[1]) != 0 calling ntohl() is superfluous. If the value is
zero, does not depend on the byte order.
Additional InformationExternal patch:
    Signed-off-by: Heinrich Schuchardt <>
    Reviewed-by: Bin Meng <>
    Acked-by: Joe Hershberger <>

Forum Link


There are no notes attached to this issue.