summaryrefslogtreecommitdiffstats
path: root/arch/microblaze/platform
diff options
context:
space:
mode:
authorMichal Simek2013-01-16 18:53:22 +0100
committerMichal Simek2013-02-12 11:24:44 +0100
commit1de9e46c21298f85820e004bce103858bc9c9dcb (patch)
tree5a2b898aceffc2b8d61d5227a4238563a177783b /arch/microblaze/platform
parentLinux 3.8-rc7 (diff)
downloadkernel-qcow2-linux-1de9e46c21298f85820e004bce103858bc9c9dcb.tar.gz
kernel-qcow2-linux-1de9e46c21298f85820e004bce103858bc9c9dcb.tar.xz
kernel-qcow2-linux-1de9e46c21298f85820e004bce103858bc9c9dcb.zip
microblaze: Fix strncpy_from_user macro
Problem happens when len in strncpy_from_user is setup and passing string has len-1 chars + \0 terminated character. In this case was returned incorrect length of the string. It should always retunrs the length of the string (not including the trailing NULL). Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'arch/microblaze/platform')
0 files changed, 0 insertions, 0 deletions