[PATCH] staging: vt6656: Fix vnt_tx_usb_header static checker warning
Dan Carpenter
dan.carpenter at oracle.com
Tue May 26 13:50:48 UTC 2020
On Sun, May 24, 2020 at 12:12:41AM +0100, Malcolm Priestley wrote:
> drivers/staging/vt6656/rxtx.c:729 vnt_beacon_xmit()
> warn: struct type mismatch 'vnt_beacon_buffer vs vnt_tx_usb_header'
>
> Since the only part of vnt_beacon_buffer is used remove and
> replace it with vnt_tx_usb_header.
>
> Fixes: 9deca1e3e2b6 ("staging: vt6656: vnt_beacon_xmit use extra_tx_headroom.")
It's not really a bug fix. It's just a cleanup. But whatever...
> Reported-by: Dan Carpenter <dan.carpenter at oracle.com>
> Signed-off-by: Malcolm Priestley <tvboxspy at gmail.com>
Reviewed-by: Dan Carpenter <dan.carpenter at oracle.com>
Thanks!
regards,
dan carpenter
More information about the devel
mailing list