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 <burzalod...@gmail.com>
---
 drivers/staging/rtl8192u/r819xU_cmdpkt.h | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/rtl8192u/r819xU_cmdpkt.h 
b/drivers/staging/rtl8192u/r819xU_cmdpkt.h
index 9a7b6f6e..6f21381 100644
--- a/drivers/staging/rtl8192u/r819xU_cmdpkt.h
+++ b/drivers/staging/rtl8192u/r819xU_cmdpkt.h
@@ -163,8 +163,7 @@ typedef struct tag_tx_rate_history {
 
 } __attribute__((packed)) cmpk_tx_rahis_t;
 
-typedef enum tag_command_packet_directories
-{
+typedef enum tag_command_packet_directories {
        RX_TX_FEEDBACK                  = 0,
        RX_INTERRUPT_STATUS             = 1,
        TX_SET_CONFIG                   = 2,
@@ -176,7 +175,7 @@ typedef enum tag_command_packet_directories
        RX_CMD_ELE_MAX
 } cmpk_element_e;
 
-typedef enum _rt_status{
+typedef enum _rt_status {
        RT_STATUS_SUCCESS,
        RT_STATUS_FAILURE,
        RT_STATUS_PENDING,
-- 
1.8.3.4

_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to