]> git.sur5r.net Git - u-boot/commitdiff
Revert "net: nfs: Correct the reply data buffer size"
authorJoe Hershberger <joe.hershberger@ni.com>
Fri, 9 Sep 2016 18:01:24 +0000 (13:01 -0500)
committerJoe Hershberger <joe.hershberger@ni.com>
Fri, 9 Sep 2016 18:13:41 +0000 (13:13 -0500)
This reverts commit 6279b49e6c2fdaf8665355d1777bc90cd41fcf90.

This caused a bad data crc.

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Reported-by: Guillaume GARDET <guillaume.gardet@free.fr>
net/nfs.h

index aa4e450b20254adeddec88c3b84c6a7476372327..45da246aa1e1bfa6ad8d7b267ab0a41fde8e231d 100644 (file)
--- 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;
 };