From: Johan Hedberg Date: Mon, 16 Jun 2014 16:25:14 +0000 (+0300) Subject: Bluetooth: Fix missing NULL check for smp_chan_create() return value X-Git-Tag: omap-for-v3.17/fixes-against-rc2~149^2~73^2~87^2~193 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c29d2444170a4e0709331e357a2738a02666a633;p=pandora-kernel.git Bluetooth: Fix missing NULL check for smp_chan_create() return value The smp_chan_create function may return NULL, e.g. in the case of memory allocation failure, so we always need to check for this. Signed-off-by: Johan Hedberg Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed