Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

staging: rtl8192u: fix open brace position in r819xU_cmdpkt.h

This patch fixes the following checkpatch warning and error:
WARNING: missing space after enum definition
ERROR: open brace '{' following enum go on the same line

Signed-off-by: Xenia Ragiadakou <burzalodowa@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Xenia Ragiadakou and committed by
Greg Kroah-Hartman
f96f8df2 feada066

+2 -3
+2 -3
drivers/staging/rtl8192u/r819xU_cmdpkt.h
··· 163 163 164 164 } __attribute__((packed)) cmpk_tx_rahis_t; 165 165 166 - typedef enum tag_command_packet_directories 167 - { 166 + typedef enum tag_command_packet_directories { 168 167 RX_TX_FEEDBACK = 0, 169 168 RX_INTERRUPT_STATUS = 1, 170 169 TX_SET_CONFIG = 2, ··· 175 176 RX_CMD_ELE_MAX 176 177 } cmpk_element_e; 177 178 178 - typedef enum _rt_status{ 179 + typedef enum _rt_status { 179 180 RT_STATUS_SUCCESS, 180 181 RT_STATUS_FAILURE, 181 182 RT_STATUS_PENDING,