linux-stable/arch/microblaze/lib
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
..
ashldi3.c microblaze: Add libgcc function directly to kernel 2010-10-21 15:51:42 +10:00
ashrdi3.c microblaze: Add libgcc function directly to kernel 2010-10-21 15:51:42 +10:00
cmpdi2.c microblaze: Add __cmpdi2 2012-01-05 08:22:01 +01:00
divsi3.S microblaze: Add libgcc function directly to kernel 2010-10-21 15:51:42 +10:00
fastcopy.S microblaze: Fix ASM optimized code for LE 2011-01-28 14:05:13 +01:00
libgcc.h microblaze: lib: Add lib function declarations 2012-12-13 18:15:38 +01:00
lshrdi3.c microblaze: Add libgcc function directly to kernel 2010-10-21 15:51:42 +10:00
Makefile microblaze: Add __cmpdi2 2012-01-05 08:22:01 +01:00
memcpy.c Disintegrate asm/system.h for Microblaze 2012-03-28 18:30:02 +01:00
memmove.c Fix common misspellings 2011-03-31 11:26:23 -03:00
memset.c Fix common misspellings 2011-03-31 11:26:23 -03:00
modsi3.S microblaze: Add libgcc function directly to kernel 2010-10-21 15:51:42 +10:00
muldi3.c microblaze: lib: Remove helper macros 2012-12-13 18:15:36 +01:00
mulsi3.S microblaze: Add libgcc function directly to kernel 2010-10-21 15:51:42 +10:00
uaccess_old.S microblaze: Fix strncpy_from_user macro 2013-02-12 11:24:44 +01:00
ucmpdi2.c microblaze: Add __ucmpdi2() helper function 2011-10-14 12:24:32 +02:00
udivsi3.S microblaze: Add libgcc function directly to kernel 2010-10-21 15:51:42 +10:00
umodsi3.S microblaze: Add libgcc function directly to kernel 2010-10-21 15:51:42 +10:00