2
0
mirror of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-09-04 20:19:47 +08:00
linux/drivers/net/ethernet/qlogic/qed
Chen Ni f5825e79b2 qed: remove cast to pointers passed to kfree
Remove unnecessary casts to pointer types passed to kfree.
Issue detected by coccinelle:
@@
type t1;
expression *e;
@@

-kfree((t1 *)e);
+kfree(e);

Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
Reviewed-by: Michal Kubiak <michal.kubiak@intel.com>
Link: https://patch.msgid.link/20250311070624.1037787-1-nichen@iscas.ac.cn
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2025-03-18 11:05:58 +01:00
..
Makefile
qed_chain.c
qed_cxt.c qed: Fix a potential use-after-free in qed_cxt_tables_alloc 2023-12-12 13:33:51 -08:00
qed_cxt.h
qed_dbg_hsi.h
qed_dcbx.c
qed_dcbx.h
qed_debug.c qed: put cond_resched() in qed_grc_dump_ctx_data() 2024-10-04 09:25:15 -07:00
qed_debug.h
qed_dev_api.h
qed_dev.c
qed_devlink.c devlink: extend devlink_param *set pointer 2024-04-22 13:05:19 -07:00
qed_devlink.h
qed_fcoe.c
qed_fcoe.h
qed_hsi.h
qed_hw.c qed: put cond_resched() in qed_dmae_operation_wait() 2024-10-04 09:25:15 -07:00
qed_hw.h
qed_init_fw_funcs.c
qed_init_ops.c
qed_init_ops.h
qed_int.c
qed_int.h
qed_iro_hsi.h
qed_iscsi.c
qed_iscsi.h
qed_iwarp.c
qed_iwarp.h
qed_l2.c
qed_l2.h
qed_ll2.c qed: fix LL2 RX buffer allocation 2023-10-15 14:29:14 +01:00
qed_ll2.h qed/red_ll2: Fix undefined behavior bug in struct qed_ll2_info 2023-10-03 10:33:17 +02:00
qed_main.c qed: remove cast to pointers passed to kfree 2025-03-18 11:05:58 +01:00
qed_mcp.c qed: fix possible uninit pointer read in qed_mcp_nvm_info_populate() 2024-12-17 15:08:52 +01:00
qed_mcp.h
qed_mfw_hsi.h
qed_mng_tlv.c
qed_nvmetcp_fw_funcs.c
qed_nvmetcp_fw_funcs.h
qed_nvmetcp.c
qed_nvmetcp.h
qed_ooo.c
qed_ooo.h
qed_ptp.c
qed_ptp.h
qed_rdma.c qed: remove duplicated assignment to variable opaque_fid 2024-02-08 19:05:01 -08:00
qed_rdma.h
qed_reg_addr.h
qed_roce.c
qed_roce.h
qed_selftest.c
qed_selftest.h
qed_sp_commands.c
qed_sp.h
qed_spq.c
qed_sriov.c net: qed: fix typos 2025-02-04 14:04:38 -08:00
qed_sriov.h
qed_vf.c qed: remove unused 'resp_size' calculation 2023-08-15 19:04:36 -07:00
qed_vf.h
qed.h qed: Drop useless pci_params.pm_cap 2024-03-28 18:22:28 -07:00