Allocations may fail, prevent NULL dereferences.
Remaining bug: in drivers/staging/rt2860/rt_main_dev.c rt28xx_probe() `handle' isn't freed in the case of later errors. Signed-off-by: Roel Kluin <roel.kluin@gmail.com> Acked-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Cc: <devel@driverdev.osuosl.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Showing
Please register or sign in to comment