2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-26 22:24:09 +08:00
linux-next/drivers/staging/netlogic
Laura Garcia Liebana 11b49d9bb6 staging: netlogic: Return zero pointer after failed kmalloc
Return a ZERO_SIZE_PTR in the xlr_config_spill function if the
kmalloc returns an invalid value. This change prevents a possible
segmentation fault as the invalid pointer is fed into PTR_ALIGN macro.

Signed-off-by: Laura Garcia Liebana <nevola@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-02-20 14:59:37 -08:00
..
Kconfig
Makefile
platform_net.c staging: netlogic: Fix several parentheses alignments 2016-02-20 14:59:37 -08:00
platform_net.h Staging: Netlogic: Move all the netdev under single parent device 2014-08-30 14:00:11 -07:00
TODO Staging: Netlogic: Move all the netdev under single parent device 2014-08-30 14:00:11 -07:00
xlr_net.c staging: netlogic: Return zero pointer after failed kmalloc 2016-02-20 14:59:37 -08:00
xlr_net.h staging: netlogic: Fix CamelCase for constants 2016-02-20 14:59:37 -08:00