caif: fix NULL pointer check
authorAlan Cox <alan@linux.intel.com>
Tue, 24 Jul 2012 02:42:14 +0000 (02:42 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Jul 2012 20:54:16 +0000 (13:54 -0700)
commitc66b9b7d365444b433307ebb18734757cb668a02
tree36a8742f784bd7f0b18df92689ba9142b3431476
parent3324d024ba4bebb74a78d84b925b59df73a92fbd
caif: fix NULL pointer check

Reported-by: <rucsoftsec@gmail.com>
Resolves-bug: http://bugzilla.kernel.org/show_bug?44441
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/caif/caif_serial.c