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

Sylwester Nawrocki s.nawrocki at samsung.com
Wed Jun 8 00:35:05 PDT 2016


On 06/08/2016 08:51 AM, Marek Szyprowski 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>

Reviewed-by: Sylwester Nawrocki <s.nawrocki at samsung.com>

I think this needs to be added to the media tree, where the original
patch it fixes was applied.

-- 
Thanks,
Sylwester



More information about the linux-arm-kernel mailing list