[PATCH 02/33] staging: rtl8723bs: remove typedefs in rtw_mlme.h

Dan Carpenter dan.carpenter at oracle.com
Mon Mar 15 14:17:46 UTC 2021


On Fri, Mar 12, 2021 at 09:26:07AM +0100, Marco Cesati wrote:
> diff --git a/drivers/staging/rtl8723bs/include/rtw_mlme_ext.h b/drivers/staging/rtl8723bs/include/rtw_mlme_ext.h
> index 1567831caf91..ed6b03c25367 100644
> --- a/drivers/staging/rtl8723bs/include/rtw_mlme_ext.h
> +++ b/drivers/staging/rtl8723bs/include/rtw_mlme_ext.h
> @@ -419,7 +419,7 @@ struct mlme_ext_info {
>  /*  The channel information about this channel including joining, scanning, and power constraints. */
>  typedef struct _RT_CHANNEL_INFO {
>  	u8 		ChannelNum;		/*  The channel number. */
> -	RT_SCAN_TYPE	ScanType;		/*  Scan type such as passive or active scan. */
> +	enum RT_SCAN_TYPE	ScanType;		/*  Scan type such as passive or active scan. */

Originally ChannelNum and ScanType were aligned but now the indenting is
whacky.  I think you did these patches with a script which is fine, but
always take a look over the over finished patch to double check by hand.

regards,
dan carpenter


More information about the devel mailing list