summaryrefslogtreecommitdiff
path: root/drivers/infiniband/hw/ionic/ionic_datapath.c
diff options
context:
space:
mode:
authorXichao Zhao <zhao.xichao@vivo.com>2025-08-19 20:09:27 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-08-21 08:09:20 +0200
commit706c3c02eecd41dc675e9102b3719661cd3e30e2 (patch)
treed7b98836555870e0e1aa489c119110adeed4c3f2 /drivers/infiniband/hw/ionic/ionic_datapath.c
parent7cd9f5d6c5a3f31d2b282d31ddc4d78ff83a5c08 (diff)
tty: serial: Modify the use of dev_err_probe()
The dev_err_probe() doesn't do anything when error is '-ENOMEM'. Make the following two changes: (1) Replace -ENOMEM with -ENOSPC in max3100_probe(). (2) Just return -ENOMEM instead in max310x_probe(). Signed-off-by: Xichao Zhao <zhao.xichao@vivo.com> Reviewed-by: Jiri Slaby <jirislaby@kernel.org> Link: https://lore.kernel.org/r/20250819120927.607744-1-zhao.xichao@vivo.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/infiniband/hw/ionic/ionic_datapath.c')
0 files changed, 0 insertions, 0 deletions