summaryrefslogtreecommitdiff
path: root/arch/tile/kernel
diff options
context:
space:
mode:
authorChris Metcalf <cmetcalf@tilera.com>2013-08-09 20:21:43 (GMT)
committerChris Metcalf <cmetcalf@tilera.com>2013-08-30 15:56:42 (GMT)
commitc0f060106000bafafc56ad2af147e541458eabdd (patch)
treeb76b78391f9e86d558f44640000e0589b5076431 /arch/tile/kernel
parent084fe6a0f53f61fd5f9b33391af1077addec0ce0 (diff)
downloadlinux-fsl-qoriq-c0f060106000bafafc56ad2af147e541458eabdd.tar.xz
tile: fix strncpy_from_user bug
In strncpy_from_user_asm, when the destination buffer length was the same as the actual string length, we were returning the size of the destination buffer. But since it's a NUL terminated string, we should return the length of the string instead. Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Diffstat (limited to 'arch/tile/kernel')
0 files changed, 0 insertions, 0 deletions