On Mon, Nov 25, 2024 at 07:45:04PM -0300, Rodrigo Gobbi wrote: > When using an extra cflag, DBG_RX_SIGNAL_DISPLAY_RAW_DATA, > hal_com.c file doesn't compile. > > Fixes: ec57f8641fbc ("staging: rtl8723bs: Rework 'struct _ODM_Phy_Status_Info_' coding style.") > Signed-off-by: Rodrigo Gobbi <rodrigo.gobbi.7@xxxxxxxxx> > --- > As noticed at [1], hal_com.c is not compiling with -DDBG_RX_SIGNAL_DISPLAY_RAW_DATA due > the changes at [2] (a few statements were not replaced with the new struct). > A little discussion was made at [1] too about how useful this cflag was or if > the code under the cflag should be deleted. I think there is no harm to keep those things > as is since we can easily fix the error and someone might be interested in using that > to further debug the driver. Let's just delete that flag entirely, no one builds in-kernel modules with different cflags. Please just remove the code completly. thanks, greg k-h