linux/arch/sparc
Wei Yongjun a9e8d1a6b8 sparc: fix the return value of module_alloc()
In case of error, function module_alloc() in other platform never
returns ERR_PTR(), and all of the user only check for NULL, so
we'd better return NULL instead of ERR_PTR().

dpatch engine is used to auto generated this patch.
(https://github.com/weiyj/dpatch)

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-09-21 12:14:20 -07:00
..
boot
configs
include/asm ipc: use Kconfig options for __ARCH_WANT_[COMPAT_]IPC_PARSE_VERSION 2012-07-30 17:25:21 -07:00
kernel sparc: fix the return value of module_alloc() 2012-09-21 12:14:20 -07:00
lib sparc64: Consistently use fsrc2 rather than fmovd in optimized asm. 2012-06-27 01:25:23 -07:00
math-emu sparc64: Fix several bugs in quad floating point emulation. 2012-05-25 00:31:56 -07:00
mm sparc64: Be less verbose during vmemmap population. 2012-08-15 00:37:29 -07:00
net sparc bpf_jit: support BPF_S_ANC_ALU_XOR_X instruction 2012-06-06 10:20:21 -07:00
oprofile
prom sparc32: Remove superfluous extern declarations for prom_*() functions 2012-06-27 01:27:45 -07:00
Kbuild Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-next 2012-05-21 10:32:01 -07:00
Kconfig ipc: use Kconfig options for __ARCH_WANT_[COMPAT_]IPC_PARSE_VERSION 2012-07-30 17:25:21 -07:00
Kconfig.debug
Makefile Merge branch 'smp-hotplug-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2012-05-21 19:43:57 -07:00