linux/arch/microblaze
Michal Simek 1de9e46c21 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>
2013-02-12 11:24:44 +01:00
..
2012-12-03 17:17:50 -06:00
2011-03-31 11:26:23 -03:00
2012-12-03 17:17:50 -06:00