From: Tobin C. Harding Date: Tue, 21 Mar 2017 02:37:04 +0000 (+1100) Subject: staging: ks7010: fix checkpatch SPACING X-Git-Tag: Ubuntu-5.10.0-12.13~10377^2~393 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=f842397229e447615d5abb3cac34a978ce8f8072;p=mirror_ubuntu-hirsute-kernel.git staging: ks7010: fix checkpatch SPACING Checkpatch emits CHECK: No space is necessary after a cast. Remove unnecessary space after cast. Signed-off-by: Tobin C. Harding Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/ks7010/michael_mic.c b/drivers/staging/ks7010/michael_mic.c index de5e7245edfd..80497ef5b1aa 100644 --- a/drivers/staging/ks7010/michael_mic.c +++ b/drivers/staging/ks7010/michael_mic.c @@ -141,8 +141,8 @@ void MichaelMICFunction(struct michael_mic_t *Mic, u8 *Key, * +--+--+--------+--+----+--+--+--+--+--+--+--+--+ */ MichaelInitializeFunction(Mic, Key); - MichaelAppend(Mic, (uint8_t *) Data, 12); /* |DA|SA| */ + MichaelAppend(Mic, (uint8_t *)Data, 12); /* |DA|SA| */ MichaelAppend(Mic, pad_data, 4); /* |Priority|0|0|0| */ - MichaelAppend(Mic, (uint8_t *) (Data + 12), Len - 12); /* |Data| */ + MichaelAppend(Mic, (uint8_t *)(Data + 12), Len - 12); /* |Data| */ MichaelGetMIC(Mic, Result); }