[U-Boot] [PATCH 5/9] net: nfs: Correct a comment

Joe Hershberger joe.hershberger at ni.com
Mon Aug 15 22:03:23 CEST 2016


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

Signed-off-by: Joe Hershberger <joe.hershberger at 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



More information about the U-Boot mailing list