diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2018-09-14 09:56:15 +0300 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2018-09-14 12:44:59 +0300 |
commit | 6f19eb21a2ef9a2da938106ccc98e296ee02f4d3 (patch) | |
tree | 8aa2645e1b5dcd517b54afefb77bc23fd60144ae /drivers/regulator/max77686-regulator.c | |
parent | 351c4dbe4fae44b747dd97114a5983ec23a49f24 (diff) | |
download | linux-6f19eb21a2ef9a2da938106ccc98e296ee02f4d3.tar.xz |
udmabuf: fix error code in map_udmabuf()
We accidentally forgot to set "ret" on this error path so it means we
return NULL instead of an error pointer. The caller checks for NULL and
changes it to an error pointer so it doesn't cause an issue at run time.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20180914065615.GA12043@mwanda
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'drivers/regulator/max77686-regulator.c')
0 files changed, 0 insertions, 0 deletions