Files
linux/drivers/net
Colin Ian King 941825e114 ieee802154: ca8210: Add checks for kmalloc allocation failures
Ensure we don't end up with a null pointer dereferences by checking
for for allocation failures.  Allocate by sizeof(*ptr) rather than
the type to fix checkpack warnings.  Also merge multiple lines into
one line for the kmalloc call.

Detected by CoverityScan, CID#1422435 ("Dereference null return value")

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
2017-04-12 22:02:39 +02:00
..
2017-02-27 18:43:47 -08:00
2017-04-09 18:14:25 -07:00
2017-02-11 20:59:41 -05:00
2017-03-08 22:19:17 -08:00
2017-03-13 21:53:48 -07:00
2017-03-01 09:58:31 -08:00
2017-03-25 20:11:19 -07:00