summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorHongling Zeng <zenghongling@kylinos.cn>2026-05-18 10:29:39 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-05-22 12:19:02 +0200
commit2eae90a457baa0048a96ed38ad93090ee38c8b2f (patch)
tree007da7e8ed48fc0e60c701925f45976ed747e65d /kernel
parentef15ccbb3e8640a723c42ad90eaf81d66ae02017 (diff)
gpib: cb7210: Fix region leak when request_irq fails
When request_irq() fails, the region allocated by request_region() is not released. Fix this by adding an error handling path with proper goto labels to release the region. Fixes: e9dc69956d4d ("staging: gpib: Add Computer Boards GPIB driver") Closes: https://lore.kernel.org/oe-kbuild-all/202605160620.ReBOadPX-lkp@intel.com/ Signed-off-by: Hongling Zeng <zenghongling@kylinos.cn> Cc: stable <stable@kernel.org> Link: https://patch.msgid.link/20260518022939.16881-1-zenghongling@kylinos.cn Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions