linux-stable/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
..
boot microblaze: use new common dtc rule 2012-12-03 17:17:50 -06:00
configs microblaze: Update microblaze defconfigs 2013-01-04 09:52:36 +01:00
include microblaze: Add finit_module syscall 2013-01-03 14:21:57 +01:00
kernel microblaze: Add finit_module syscall 2013-01-03 14:21:57 +01:00
lib microblaze: Fix strncpy_from_user macro 2013-02-12 11:24:44 +01:00
mm readahead: fault retry breaks mmap file read random detection 2012-10-09 16:22:47 +09:00
oprofile
pci Merge branch 'next' of git://git.monstr.eu/linux-2.6-microblaze 2013-01-07 07:39:32 -08:00
platform
Kconfig Bury the conditionals from kernel_thread/kernel_execve series 2012-12-19 18:07:38 -05:00
Kconfig.debug
Makefile microblaze: use new common dtc rule 2012-12-03 17:17:50 -06:00