diff options
author | Chuhong Yuan <[email protected]> | 2020-03-29 22:58:39 +0800 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <[email protected]> | 2020-04-17 15:50:14 +0200 |
commit | 693774995595b40ae74264216f933224021f4577 (patch) | |
tree | b54479fb356c7116a603f1da742faa8491e5373a /scripts/gdb/linux/utils.py | |
parent | fbe3d80df87bb3f91fe1d8b421b69c3c8d089640 (diff) |
video: fbdev: vesafb: add missed release_region
The driver forgets to free the I/O region in remove and probe
failure.
Add the missed calls to fix it.
Since the success of request_region() is optional, add the "region" field
in vesafb_par to represent whether request_region() succeeds.
Then only call release_region() when "region" is not null.
Signed-off-by: Chuhong Yuan <[email protected]>
Signed-off-by: Bartlomiej Zolnierkiewicz <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions