]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
net: nfs: Correct a comment
authorJoe Hershberger <joe.hershberger@ni.com>
Mon, 15 Aug 2016 20:03:23 +0000 (15:03 -0500)
committerJoe Hershberger <joe.hershberger@ni.com>
Mon, 22 Aug 2016 19:20:47 +0000 (14:20 -0500)
The buffer is of 32-bit elements, not bytes.

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
net/nfs.c

index 08bdd92d8020d92b511fffec7081c4030233f1d8..ade589cddcfba51beaa546c0bf4e0cdba787293a 100644 (file)
--- 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,