Re: [PATCH] baseband/fpga_5gnr_fec: remove useless cast

2024-09-13 Thread Maxime Coquelin
On 7/25/24 19:17, Stephen Hemminger wrote: The rte_pktmbuf_mtod_offset macro already includes a type cast so casting the result just adds extra cast. Found by cocci/mtod-offset.cocci Signed-off-by: Stephen Hemminger --- drivers/baseband/fpga_5gnr_fec/rte_fpga_5gnr_fec.c | 4 ++-- 1 file c

Re: [PATCH] baseband/fpga_5gnr_fec: remove useless cast

2024-09-10 Thread Maxime Coquelin
On 7/25/24 19:17, Stephen Hemminger wrote: The rte_pktmbuf_mtod_offset macro already includes a type cast so casting the result just adds extra cast. Found by cocci/mtod-offset.cocci Signed-off-by: Stephen Hemminger --- drivers/baseband/fpga_5gnr_fec/rte_fpga_5gnr_fec.c | 4 ++-- 1 file c

[PATCH] baseband/fpga_5gnr_fec: remove useless cast

2024-07-25 Thread Stephen Hemminger
The rte_pktmbuf_mtod_offset macro already includes a type cast so casting the result just adds extra cast. Found by cocci/mtod-offset.cocci Signed-off-by: Stephen Hemminger --- drivers/baseband/fpga_5gnr_fec/rte_fpga_5gnr_fec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --gi