summaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorZhouyang Jia <jiazhouyang09@gmail.com>2018-06-12 12:40:03 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-09-26 08:36:39 +0200
commit8e16e060a86f0c340346b8269c57faa069bfe545 (patch)
tree9dc06d2f402647524ee457c3b429df02bec674de /drivers/fpga/fpga-mgr.c
parent4dfa5ee4defd6783f33fa69c02d7e346494ebe8e (diff)
rtc: bq4802: add error handling for devm_ioremap
[ Upstream commit 7874b919866ba91bac253fa219d3d4c82bb944df ] When devm_ioremap fails, the lack of error-handling code may cause unexpected results. This patch adds error-handling code after calling devm_ioremap. Signed-off-by: Zhouyang Jia <jiazhouyang09@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Sasha Levin <alexander.levin@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions