On Fri, 2015-01-30 at 11:28 +0300, Dan Carpenter wrote:
> "chip_data->intpol_base" used to be an ERR_PTR() but we recently changed
> it to be NULL. We need to update the error code as well because
> "PTR_ERR(NULL)" means success where really we want to return -ENOMEM.
>
> Fixes: cdb647a772e9 ('ir
"chip_data->intpol_base" used to be an ERR_PTR() but we recently changed
it to be NULL. We need to update the error code as well because
"PTR_ERR(NULL)" means success where really we want to return -ENOMEM.
Fixes: cdb647a772e9 ('irqchip: mtk-sysirq: Get irq number from register
resource size')
S
2 matches
Mail list logo