Rename the member variable 'Offset' to 'offset', this clears the checkpatch issue with CamelCase naming.
This is a coding style change which should not impact runtime code execution. Signed-off-by: John Whitmore <johnfwhitm...@gmail.com> --- drivers/staging/rtl8192u/r8192U.h | 2 +- drivers/staging/rtl8192u/r8192U_core.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8192u/r8192U.h b/drivers/staging/rtl8192u/r8192U.h index 9931ede1524b..8aaea1d8cf50 100644 --- a/drivers/staging/rtl8192u/r8192U.h +++ b/drivers/staging/rtl8192u/r8192U.h @@ -159,7 +159,7 @@ extern u32 rt_global_debug_component; struct tx_desc_819x_usb { /* DWORD 0 */ u16 pkt_size; - u8 Offset; + u8 offset; u8 Reserved0:3; u8 CmdInit:1; u8 LastSeg:1; diff --git a/drivers/staging/rtl8192u/r8192U_core.c b/drivers/staging/rtl8192u/r8192U_core.c index 2a3cb0f1ac07..d4af6cc01fc6 100644 --- a/drivers/staging/rtl8192u/r8192U_core.c +++ b/drivers/staging/rtl8192u/r8192U_core.c @@ -1516,7 +1516,7 @@ short rtl8192_tx(struct net_device *dev, struct sk_buff *skb) /* DWORD 0 */ tx_desc->LINIP = 0; tx_desc->CmdInit = 1; - tx_desc->Offset = sizeof(struct tx_fwinfo_819x_usb) + 8; + tx_desc->offset = sizeof(struct tx_fwinfo_819x_usb) + 8; tx_desc->pkt_size = (skb->len - TX_PACKET_SHIFT_BYTES) & 0xffff; /*DWORD 1*/ -- 2.18.0