]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: nfs: Correct the reply data buffer size
authorJoe Hershberger <joe.hershberger@ni.com>
Mon, 15 Aug 2016 20:03:20 +0000 (15:03 -0500)
committerJoe Hershberger <joe.hershberger@ni.com>
Mon, 22 Aug 2016 19:20:36 +0000 (14:20 -0500)
commit6279b49e6c2fdaf8665355d1777bc90cd41fcf90
tree419ddf37939144a0b0817d34714874746c0f7fc1
parent5280c76915f45f4479d6fe5f0b5b73984de14d04
net: nfs: Correct the reply data buffer size

The type of the buffer is uint32_t, but the parameter used to size it
is referring to bytes. Divide by the size of the array elements.

Strictly speaking, this shouldn't be needed at all... It could just be 1
just like the request.

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