2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-27 14:43:58 +08:00
linux-next/arch/hexagon
Al Viro f35c1e0671 hexagon: fix strncpy_from_user() error return
It's -EFAULT, not -1 (and contrary to the comment in there,
__strnlen_user() can return 0 - on faults).

Cc: stable@vger.kernel.org
Acked-by: Richard Kuo <rkuo@codeaurora.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2016-09-13 17:49:39 -04:00
..
configs Hexagon: Comet platform support 2011-11-01 07:34:21 -07:00
include hexagon: fix strncpy_from_user() error return 2016-09-13 17:49:39 -04:00
kernel dma-mapping: use unsigned long for dma_attrs 2016-08-04 08:50:07 -04:00
lib hexagon: Fix misspellings in comments. 2016-04-18 12:45:54 +02:00
mm treewide: replace obsolete _refok by __ref 2016-08-02 17:31:41 -04:00
Kconfig hexagon: update TODO list 2016-06-07 09:35:16 +02:00
Makefile Hexagon: change arch version config to allow comparisons 2013-04-30 19:40:22 -05:00