From: Alexey Khoroshilov Date: Fri, 13 Mar 2015 22:34:41 +0000 (+0300) Subject: staging: vt6656: don't return zero on failure path in vt6656_probe() X-Git-Tag: omap-for-v4.2/o2_dc~155^2~138^2~296 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=20ff1418d3936f76df24f5694c6b5eb9179a565f;p=pandora-kernel.git staging: vt6656: don't return zero on failure path in vt6656_probe() If ieee80211_alloc_hw() fails in vt6656_probe(), it breaks off initialization, but returns zero. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed