Commit f8423972 authored by Tobin C. Harding's avatar Tobin C. Harding Committed by Greg Kroah-Hartman

staging: ks7010: fix checkpatch SPACING

Checkpatch emits CHECK: No space is necessary after a cast.

Remove unnecessary space after cast.
Signed-off-by: default avatarTobin C. Harding <me@tobin.cc>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 44f2bf55
...@@ -141,8 +141,8 @@ void MichaelMICFunction(struct michael_mic_t *Mic, u8 *Key, ...@@ -141,8 +141,8 @@ void MichaelMICFunction(struct michael_mic_t *Mic, u8 *Key,
* +--+--+--------+--+----+--+--+--+--+--+--+--+--+ * +--+--+--------+--+----+--+--+--+--+--+--+--+--+
*/ */
MichaelInitializeFunction(Mic, 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, 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); MichaelGetMIC(Mic, Result);
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment