commit | 2388bd7b133504fa0991f483db66fad3a0de8694 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Wed Jun 14 13:44:51 2017 +0300 |
committer | Luca Coelho <luciano.coelho@intel.com> | Fri Jul 21 12:26:38 2017 +0300 |
tree | 0ed8d18ff371948553152b2317971b5b70350199 | |
parent | 61dd8a8a6a0c3cbfb6b02ab652c4f4efb93f3d79 [diff] |
iwlwifi: missing error code in iwl_trans_pcie_alloc() We don't set the error code here so we end up returning ERR_PTR(0) which is NULL. The caller doesn't expect that so it results in a NULL dereference. Fixes: 2e5d4a8f61dc ("iwlwifi: pcie: Add new configuration to enable MSIX") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Luca Coelho <luciano.coelho@intel.com>