diff options
author | Greg Kroah-Hartman <[email protected]> | 2021-05-03 13:57:34 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2021-05-13 18:58:39 +0200 |
commit | 13b7c0390a5d3840e1e2cda8f44a310fdbb982de (patch) | |
tree | 44d79d88a03590b7363298f8616c4467201c3f62 /drivers/fpga/fpga-bridge.c | |
parent | ed04fe8a0e87d7b5ea17d47f4ac9ec962b24814a (diff) |
video: imsttfb: check for ioremap() failures
We should check if ioremap() were to somehow fail in imsttfb_probe() and
handle the unwinding of the resources allocated here properly.
Ideally if anyone cares about this driver (it's for a PowerMac era PCI
display card), they wouldn't even be using fbdev anymore. Or the devm_*
apis could be used, but that's just extra work for diminishing
returns...
Cc: Finn Thain <[email protected]>
Cc: Bartlomiej Zolnierkiewicz <[email protected]>
Reviewed-by: Rob Herring <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions