Home
last modified time | relevance | path

Searched hist:"2388 bd7b" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/wireless/intel/iwlwifi/pcie/
H A Dtrans.c2388bd7b Wed Jun 14 05:44:51 CDT 2017 Dan Carpenter <dan.carpenter@oracle.com> 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>
2388bd7b Wed Jun 14 05:44:51 CDT 2017 Dan Carpenter <dan.carpenter@oracle.com> 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>