linux/drivers/net/wwan/iosm
Qianfeng Rong f0c88a0d83 net: wwan: iosm: use int type to store negative error codes
The 'ret' variable in ipc_pcie_resources_request() either stores '-EBUSY'
directly or holds returns from pci_request_regions() and ipc_acquire_irq().
Storing negative error codes in u32 causes no runtime issues but is
stylistically inconsistent and very ugly.  Change 'ret' from u32 to int
type - this has no runtime impact.

Signed-off-by: Qianfeng Rong <rongqianfeng@vivo.com>
Reviewed-by: Loic Poulain <loic.poulain@oss.qualcomm.com>
Link: https://patch.msgid.link/20250826135021.510767-1-rongqianfeng@vivo.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2025-08-27 18:17:15 -07:00
..
Makefile
iosm_ipc_chnl_cfg.c net: wwan: iosm: add rpc interface for xmm modems 2022-11-02 11:51:03 +00:00
iosm_ipc_chnl_cfg.h drivers: net: wwan: iosm: Fixed multiple typos in multiple files 2023-10-18 17:45:44 -07:00
iosm_ipc_coredump.c net: wwan: iosm: fix kernel test robot reported errors 2022-11-09 14:00:25 +00:00
iosm_ipc_coredump.h
iosm_ipc_debugfs.c
iosm_ipc_debugfs.h
iosm_ipc_devlink.c net: wwan: iosm: Fix tainted pointer delete is case of region creation fail 2024-06-06 10:15:14 +02:00
iosm_ipc_devlink.h
iosm_ipc_flash.c
iosm_ipc_flash.h
iosm_ipc_imem.c net: wwan: iosm: Switch to use hrtimer_setup() 2025-02-18 10:35:46 +01:00
iosm_ipc_imem.h Revert "net: wwan: iosm: enable runtime pm support for 7560" 2023-10-18 11:08:52 +01:00
iosm_ipc_imem_ops.c net: wwan: iosm: fix NULL pointer dereference when removing device 2023-05-17 12:58:42 +01:00
iosm_ipc_imem_ops.h drivers: net: wwan: iosm: Fixed multiple typos in multiple files 2023-10-18 17:45:44 -07:00
iosm_ipc_irq.c
iosm_ipc_irq.h
iosm_ipc_mmio.c net: wwan: iosm: Properly check for valid exec stage in ipc_mmio_init() 2025-01-02 18:37:50 -08:00
iosm_ipc_mmio.h
iosm_ipc_mux.c net: wwan: iosm: fix memory leak in ipc_mux_init() 2022-12-06 11:39:35 +01:00
iosm_ipc_mux.h drivers: net: wwan: iosm: Fixed multiple typos in multiple files 2023-10-18 17:45:44 -07:00
iosm_ipc_mux_codec.c net: wwan: iosm: Convert single instance struct member to flexible array 2023-06-22 11:27:47 +02:00
iosm_ipc_mux_codec.h net: wwan: iosm: Convert single instance struct member to flexible array 2023-06-22 11:27:47 +02:00
iosm_ipc_pcie.c net: wwan: iosm: use int type to store negative error codes 2025-08-27 18:17:15 -07:00
iosm_ipc_pcie.h
iosm_ipc_pm.c
iosm_ipc_pm.h drivers: net: wwan: iosm: Fixed multiple typos in multiple files 2023-10-18 17:45:44 -07:00
iosm_ipc_port.c Revert "net: wwan: iosm: enable runtime pm support for 7560" 2023-10-18 11:08:52 +01:00
iosm_ipc_port.h drivers: net: wwan: iosm: Fixed multiple typos in multiple files 2023-10-18 17:45:44 -07:00
iosm_ipc_protocol.c
iosm_ipc_protocol.h net: wwan: iosm: fix dma_alloc_coherent incompatible pointer type 2022-11-28 11:31:59 +00:00
iosm_ipc_protocol_ops.c
iosm_ipc_protocol_ops.h
iosm_ipc_task_queue.c
iosm_ipc_task_queue.h
iosm_ipc_trace.c relayfs: abolish prev_padding 2025-07-09 22:57:51 -07:00
iosm_ipc_trace.h drivers: net: wwan: iosm: Fixed multiple typos in multiple files 2023-10-18 17:45:44 -07:00
iosm_ipc_uevent.c
iosm_ipc_uevent.h
iosm_ipc_wwan.c Revert "net: wwan: iosm: enable runtime pm support for 7560" 2023-10-18 11:08:52 +01:00
iosm_ipc_wwan.h