summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorYang Yingliang <yangyingliang@huawei.com>2023-07-28 16:57:23 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-07-30 13:52:52 +0200
commit5f45b336fc57cb31c81d2eb4a63008ab65840a2b (patch)
treeacf1dbcc4099b20ff912e2987148ebe3439504f3 /net/unix/af_unix.c
parent9b4e18f032db160a70d73d3cdf3a0bff229686b4 (diff)
8250_men_mcb: fix error handling in read_uarts_available_from_reg()
If ioremap() fails, it returns NULL pointer, not ERR_PTR(), fix the return value check and call release_mem_region() to release resource. Fixes: c563831ba879 ("8250_men_mcb: Make UART config auto configurable") Signed-off-by: Yang Yingliang <yangyingliang@huawei.com> Link: https://lore.kernel.org/r/20230728085723.3195044-1-yangyingliang@huawei.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions