Messages in this thread | | | From | Alexandre Courbot <> | Date | Mon, 13 Jul 2015 23:36:48 +0900 | Subject | Re: [RFT PATCH] gpio: etraxfs: Fix devm_ioremap_resource return value check |
| |
On Thu, Jul 9, 2015 at 10:19 PM, Krzysztof Kozlowski <k.kozlowski.k@gmail.com> wrote: > Value returned by devm_ioremap_resource() was checked for non-NULL but > devm_ioremap_resource() returns IOMEM_ERR_PTR, not NULL. In case of > error this could lead to dereference of ERR_PTR.
Look obvious enough to be merged without testing.
Acked-by: Alexandre Courbot <acourbot@nvidia.com>
| |