From: Shahed Shaikh Date: Sat, 22 Jun 2013 08:12:00 +0000 (-0400) Subject: qlcnic: Handle qlcnic_alloc_mbx_args() failure X-Git-Tag: v3.11-rc1~64^2~185 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b6b4316c8b2fa6af5cee71e7defd09527b9d1cf9;p=pandora-kernel.git qlcnic: Handle qlcnic_alloc_mbx_args() failure qlcnic_alloc_mbx_args() may fail due to failure in memory allocation. This patch checks for failure of qlcnic_alloc_mbx_args() to avoid potential invalid memory access. Signed-off-by: Shahed Shaikh Signed-off-by: Jitendra Kalsaria Signed-off-by: David S. Miller --- Reading git-diff-tree failed