caif: added check for potential null return
authorKim Lilliestierna XX <kim.xx.lilliestierna@stericsson.com>
Mon, 25 Jun 2012 07:49:34 +0000 (07:49 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 Jun 2012 23:44:11 +0000 (16:44 -0700)
commitc95567c8035281d20ca8266cb39f8d48307a70af
tree4dd0747fbad925550d5507cb5a4d4176ce397638
parentbe4852c957b7c1e8eeac8d13c3ef228508c0873a
caif: added check for potential null return

Add check on NULL return from caif_get().

Signed-off-by: Kim Lilliestierna <Kim.xx.Lilliestierna@stericsson.com>
Signed-off-by: Sjur Brændeland <sjur.brandeland@stericssion.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/caif/caif_dev.c