staging: wilc1000: Modify null check routine
This patch removes the potential faults which may happen when unexpectedly getting access to invalid pointer. Return error when the invalid memory is accessed. Signed-off-by:Leo Kim <leo.kim@atmel.com> Signed-off-by:
Glen Lee <glen.lee@atmel.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Showing
Please register or sign in to comment