diff options
author | Marek Szyprowski | 2016-06-08 08:51:53 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab | 2016-06-09 11:55:15 +0200 |
commit | 9f5a802b1d51dc80a27d828a5f7dcc8ec4a72f03 (patch) | |
tree | bc7aa57aac137651a75648ddab5770954e12fb6a /fs/lockd/xdr4.c | |
parent | [media] drivers/media/dvb-core/en50221: move code to dvb_ca_private_free() (diff) | |
download | kernel-qcow2-linux-9f5a802b1d51dc80a27d828a5f7dcc8ec4a72f03.tar.gz kernel-qcow2-linux-9f5a802b1d51dc80a27d828a5f7dcc8ec4a72f03.tar.xz kernel-qcow2-linux-9f5a802b1d51dc80a27d828a5f7dcc8ec4a72f03.zip |
[media] of: reserved_mem: restore old behavior when no region is defined
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.
Fixes: 59ce4039727ef40 ("of: reserved_mem: add support for using more than
one region for given device")
Reported-by: Liviu Dudau <liviu.dudau@arm.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Reviewed-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Reviewed-by: Liviu Dudau <Liviu.Dudau@arm.com>
Acked-by: Rob Herring <robh@kernel.org>
Reviewed-by: Sumit Semwal <sumit.semwal@linaro.org>
Diffstat (limited to 'fs/lockd/xdr4.c')
0 files changed, 0 insertions, 0 deletions