linux-stable/drivers/net/ethernet/mellanox/mlx5/core
Dan Carpenter d5972f1000 net/mlx5: Fix check for allocation failure in comp_irqs_request_pci()
This function accidentally dereferences "cpus" instead of returning
directly.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/r/202305200354.KV3jU94w-lkp@intel.com/
Fixes: b48a0f72bc ("net/mlx5: Refactor completion irq request/release code")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
2023-05-24 20:44:19 -07:00
..
diag net/mlx5: fw_tracer, Fix event handling 2023-05-24 20:44:17 -07:00
en net/mlx5: Fix post parse infra to only parse every action once 2023-05-24 20:44:18 -07:00
en_accel Networking changes for 6.4. 2023-04-26 16:07:23 -07:00
esw Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2023-04-26 10:17:46 +02:00
fpga
ipoib net/mlx5e: Don't cache tunnel offloads capability 2023-03-15 15:50:15 -07:00
lag net/mlx5: Lag, Add single RDMA device in multiport mode 2023-02-14 14:08:25 -08:00
lib net/mlx5: Devcom, serialize devcom registration 2023-05-22 22:38:06 -07:00
sf net/mlx5: SF, Drain health before removing device 2023-05-24 20:44:17 -07:00
steering net/mlx5: DR, Add missing mutex init/destroy in pattern manager 2023-05-24 20:44:19 -07:00
Kconfig net/mlx5: Kconfig: Make tc offload depend on tc skb extension 2023-02-20 16:46:10 -08:00
Makefile net/mlx5: Add vnic devlink health reporter to PFs/VFs 2023-04-20 18:35:49 -07:00
alloc.c
cmd.c net/mlx5: Collect command failures data only for known commands 2023-05-22 22:38:04 -07:00
cq.c
debugfs.c net/mlx5: Expose SF firmware pages counter 2023-02-07 19:01:06 -08:00
dev.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2023-04-20 16:29:51 -07:00
devlink.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2023-04-26 10:17:46 +02:00
devlink.h mlx5-updates-2023-03-20 2023-03-28 23:52:12 -07:00
ecpf.c Revert "net/mlx5: Enable management PF initialization" 2023-04-19 18:51:28 -07:00
ecpf.h
en.h net/mlx5e: Use query_special_contexts cmd only once per mdev 2023-05-24 20:44:18 -07:00
en_arfs.c
en_common.c RDMA/mlx5: Allow relaxed ordering read in VFs and VMs 2023-04-16 13:29:26 +03:00
en_dcbnl.c net/mlx5e: Consider internal buffers size in port buffer calculations 2023-05-24 20:44:16 -07:00
en_dim.c
en_ethtool.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2023-03-17 16:29:25 -07:00
en_fs.c net/mlx5e: Nullify table pointer when failing to create 2023-04-20 18:47:33 -07:00
en_fs_ethtool.c
en_main.c net/mlx5e: Move Ethernet driver debugfs to profile init callback 2023-05-24 20:44:18 -07:00
en_rep.c net/mlx5e: Move Ethernet driver debugfs to profile init callback 2023-05-24 20:44:18 -07:00
en_rep.h net/mlx5e: Add vnic devlink health reporter to representors 2023-04-20 18:35:49 -07:00
en_rx.c net/mlx5e: RX, Fix XDP_TX page release for legacy rq nonlinear case 2023-04-20 18:35:49 -07:00
en_selftest.c
en_stats.c net/mlx5e: RX, Remove unnecessary recycle parameter and page_cache stats 2023-03-28 13:43:59 -07:00
en_stats.h net/mlx5e: RX, Remove unnecessary recycle parameter and page_cache stats 2023-03-28 13:43:59 -07:00
en_tc.c net/mlx5: Fix post parse infra to only parse every action once 2023-05-24 20:44:18 -07:00
en_tc.h net/mlx5e: TC, Set CT miss to the specific ct action instance 2023-02-20 16:46:10 -08:00
en_tx.c net/mlx5e: Fix SQ wake logic in ptp napi_poll context 2023-05-22 22:38:05 -07:00
en_txrx.c net/mlx5e: do as little as possible in napi poll when budget is 0 2023-05-19 08:39:14 +01:00
eq.c net/mlx5: Fix check for allocation failure in comp_irqs_request_pci() 2023-05-24 20:44:19 -07:00
eswitch.c mlx5-updates-2023-04-20 2023-04-21 20:47:05 -07:00
eswitch.h net/mlx5: E-switch, Devcom, sync devcom events and devcom comp register 2023-05-22 22:38:06 -07:00
eswitch_offloads.c net/mlx5: E-switch, Devcom, sync devcom events and devcom comp register 2023-05-22 22:38:06 -07:00
eswitch_offloads_termtbl.c Revert "net/mlx5e: Don't use termination table when redundant" 2023-04-20 18:47:33 -07:00
events.c RDMA/mlx5: Track netdev to avoid deadlock during netdev notifier unregister 2023-02-08 20:40:57 -08:00
fs_cmd.c Merge branch 'mlx5-next' of https://git.kernel.org/pub/scm/linux/kernel/git/mellanox/linux 2023-02-16 11:36:14 -08:00
fs_cmd.h
fs_core.c net/mlx5: Bridge, add per-port multicast replication tables 2023-04-11 20:57:36 -07:00
fs_core.h
fs_counters.c net/mlx5e: TC, support per action stats 2023-02-14 11:00:01 +01:00
fs_ft_pool.c
fs_ft_pool.h
fw.c net/mlx5: Prepare for fast crypto key update if hardware supports it 2023-01-30 19:10:05 -08:00
fw_reset.c net/mlx5: Use recovery timeout on sync reset flow 2023-04-20 18:47:33 -07:00
fw_reset.h
health.c net/mlx5: Add vnic devlink health reporter to PFs/VFs 2023-04-20 18:35:49 -07:00
irq_affinity.c net/mlx5: Use dynamic msix vectors allocation 2023-03-24 16:04:29 -07:00
main.c net/mlx5: Drain health before unregistering devlink 2023-05-24 20:44:17 -07:00
mcg.c
mlx5_core.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2023-04-26 10:17:46 +02:00
mlx5_irq.h net/mlx5: Free irqs only on shutdown callback 2023-05-22 22:38:06 -07:00
mr.c net/mlx5e: Use query_special_contexts cmd only once per mdev 2023-05-24 20:44:18 -07:00
pagealloc.c net/mlx5: Fix setting ec_function bit in MANAGE_PAGES 2023-03-15 15:50:16 -07:00
pci_irq.c net/mlx5: Fix indexing of mlx5_irq 2023-05-22 22:38:06 -07:00
pci_irq.h net/mlx5: Use dynamic msix vectors allocation 2023-03-24 16:04:29 -07:00
pd.c
port.c net/mlx5: Move needed PTYS functions to core layer 2023-03-15 22:12:08 -07:00
qos.c
qos.h
rdma.c
rdma.h
rl.c
sriov.c net/mlx5: ECPF, wait for VF pages only after disabling host PFs 2023-02-24 10:13:18 -08:00
thermal.c net/mlx5: Implement thermal zone 2023-03-15 22:09:14 -07:00
thermal.h net/mlx5: Implement thermal zone 2023-03-15 22:09:14 -07:00
transobj.c
uar.c
vport.c
wq.c
wq.h