The buffer is of 32-bit elements, not bytes.

Signed-off-by: Joe Hershberger <joe.hershber...@ni.com>
---

 net/nfs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/nfs.c b/net/nfs.c
index 08bdd92..ade589c 100644
--- a/net/nfs.c
+++ b/net/nfs.c
@@ -592,7 +592,7 @@ static int nfs3_get_attributes_offset(uint32_t *data)
 {
        if (ntohl(data[1]) != 0) {
                /* 'attributes_follow' flag is TRUE,
-                * so we have attributes on 21 bytes */
+                * so we have attributes on 21 dwords */
                /* Skip unused values :
                        type;   32 bits value,
                        mode;   32 bits value,
-- 
1.7.11.5

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to