[PATCH] of: reserved_mem: restore old behavior when no region is defined

Sumit Semwal sumit.semwal at linaro.org
Wed Jun 8 15:35:22 UTC 2016


On 8 June 2016 at 18:35, Rob Herring <robh at kernel.org> wrote:
> On Wed, Jun 8, 2016 at 1:51 AM, Marek Szyprowski
> <m.szyprowski at samsung.com> wrote:
>> Change return value back to -ENODEV when no region is defined for given
>> device. This restores old behavior of this function, as some drivers rely
>> on such error code.
>>
>> Reported-by: Liviu Dudau <liviu.dudau at arm.com>
>> Fixes: 59ce4039727ef40 ("of: reserved_mem: add support for using more than
>>        one region for given device")
>> Signed-off-by: Marek Szyprowski <m.szyprowski at samsung.com>
>> ---
>>  drivers/of/of_reserved_mem.c | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>
Looks reasonable; FWIW
Reviewed-by: Sumit Semwal <sumit.semwal at linaro.org>
> Acked-by: Rob Herring <robh at kernel.org>
> _______________________________________________
> dri-devel mailing list
> dri-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel



-- 
Thanks and regards,

Sumit Semwal
Linaro Mobile Group - Kernel Team Lead
Linaro.org │ Open source software for ARM SoCs


More information about the dri-devel mailing list