On Wed, 2017-06-14 at 13:44 +0300, Dan Carpenter wrote:
> 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 <[email protected]>Good catch, thanks! I'll push it to our internal tree, so it will go upstream via our normal process. -- Cheers, Luca.
