Re: [PATCH] MIPS: ralink: fix return value check in rt_timer_probe()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 31/10/13 08:51, Wei Yongjun wrote:
From: Wei Yongjun<yongjun_wei@xxxxxxxxxxxxxxxxx>

In case of error, the function devm_request_and_ioremap() returns NULL
pointer not ERR_PTR(). Fix it by using devm_ioremap_resource() instead
of devm_request_and_ioremap().

Signed-off-by: Wei Yongjun<yongjun_wei@xxxxxxxxxxxxxxxxx>
Thanks for spotting the bug.

Acked-by: John Crispin <blogic@xxxxxxxxxxx>




[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux