Re: [PATCH] staging: rtl8712: cmd:remove redundant space after cast

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Going for maximally picky, there should be a space after cmd:

julia

On Wed, 13 Apr 2022, Aliya Rahmani wrote:

> Remove the unnecessary space immediately after a cast. Identified by
> checkpatch: CHECK: No space is necessary after a cast.
>
> Signed-off-by: Aliya Rahmani <aliyarahmani786@xxxxxxxxx>
> ---
>  drivers/staging/rtl8712/rtl871x_cmd.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/staging/rtl8712/rtl871x_cmd.c b/drivers/staging/rtl8712/rtl871x_cmd.c
> index f5746020a1b7..4be96df5a329 100644
> --- a/drivers/staging/rtl8712/rtl871x_cmd.c
> +++ b/drivers/staging/rtl8712/rtl871x_cmd.c
> @@ -536,7 +536,7 @@ void r8712_setstakey_cmd(struct _adapter *padapter, u8 *psta, u8 unicast_key)
>  		return;
>  	}
>  	init_h2fwcmd_w_parm_no_rsp(ph2c, psetstakey_para, _SetStaKey_CMD_);
> -	ph2c->rsp = (u8 *) psetstakey_rsp;
> +	ph2c->rsp = (u8 *)psetstakey_rsp;
>  	ph2c->rspsz = sizeof(struct set_stakey_rsp);
>  	ether_addr_copy(psetstakey_para->addr, sta->hwaddr);
>  	if (check_fwstate(pmlmepriv, WIFI_STATION_STATE))
> --
> 2.25.1
>
>
>




[Index of Archives]     [Linux Driver Development]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux