From: Joe Hershberger Date: Fri, 9 Sep 2016 18:01:24 +0000 (-0500) Subject: Revert "net: nfs: Correct the reply data buffer size" X-Git-Tag: v2016.09~3^2~1 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=11e8ec96dcff19ac0e0232a1ae10999398d64e3b;p=oweals%2Fu-boot.git Revert "net: nfs: Correct the reply data buffer size" This reverts commit 6279b49e6c2fdaf8665355d1777bc90cd41fcf90. This caused a bad data crc. Signed-off-by: Joe Hershberger Reported-by: Guillaume GARDET --- diff --git a/net/nfs.h b/net/nfs.h index aa4e450b20..45da246aa1 100644 --- a/net/nfs.h +++ b/net/nfs.h @@ -76,7 +76,7 @@ struct rpc_t { uint32_t verifier; uint32_t v2; uint32_t astatus; - uint32_t data[NFS_READ_SIZE / sizeof(uint32_t)]; + uint32_t data[NFS_READ_SIZE]; } reply; } u; };