caif: fix NULL pointer check
authorAlan Cox <alan@linux.intel.com>
Tue, 24 Jul 2012 02:42:14 +0000 (02:42 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Aug 2012 15:31:50 +0000 (08:31 -0700)
commit2138dede8c23f5646c81381c71aac37e67b491b0
tree7149cb0466c7aaaae4449d1cf8bdc47908c95863
parentf63b1d926016ce39e06a9a39084d205e072541e2
caif: fix NULL pointer check

[ Upstream commit c66b9b7d365444b433307ebb18734757cb668a02 ]

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/caif/caif_serial.c