All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/5] staging: vt6655: Change typedef enum to enum
@ 2018-03-20 20:27 Nishka Dasgupta
  2018-03-20 20:27 ` [PATCH 2/5] stging: vt6655: Replace typedef enum with enum Nishka Dasgupta
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Nishka Dasgupta @ 2018-03-20 20:27 UTC (permalink / raw)
  To: forest, gregkh, outreachy-kernel; +Cc: Nishka Dasgupta

Change typedef enum to enum. Issue found with checkpatch.

Signed-off-by: Nishka Dasgupta <nishka.dasgupta_ug18@ashoka.edu.in>
---
 drivers/staging/vt6655/card.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/vt6655/card.h b/drivers/staging/vt6655/card.h
index 487039a..be5254a 100644
--- a/drivers/staging/vt6655/card.h
+++ b/drivers/staging/vt6655/card.h
@@ -39,12 +39,12 @@
 #define CB_MAX_CHANNEL_5G       42
 #define CB_MAX_CHANNEL          (CB_MAX_CHANNEL_24G + CB_MAX_CHANNEL_5G)
 
-typedef enum _CARD_PKT_TYPE {
+enum CARD_PKT_TYPE {
 	PKT_TYPE_802_11_BCN,
 	PKT_TYPE_802_11_MNG,
 	PKT_TYPE_802_11_DATA,
 	PKT_TYPE_802_11_ALL
-} CARD_PKT_TYPE, *PCARD_PKT_TYPE;
+};
 
 typedef enum _CARD_STATUS_TYPE {
 	CARD_STATUS_MEDIA_CONNECT,
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-03-22 17:29 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-20 20:27 [PATCH 1/5] staging: vt6655: Change typedef enum to enum Nishka Dasgupta
2018-03-20 20:27 ` [PATCH 2/5] stging: vt6655: Replace typedef enum with enum Nishka Dasgupta
2018-03-20 20:27 ` [PATCH 3/5] staging: vt6655: Change typedef struct to struct Nishka Dasgupta
2018-03-22 17:29   ` Greg KH
2018-03-20 20:27 ` [PATCH 4/5] staging:vt6655:Delete typedef in typedef enum Nishka Dasgupta
2018-03-20 20:27 ` [PATCH 5/5] staging: vt6655: Remove else after return Nishka Dasgupta

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.