mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] staging: most: Avoid trailing semicolon for macros
@ 2017-12-22  8:25 venkataravi.e
  0 siblings, 0 replies; only message in thread
From: venkataravi.e @ 2017-12-22  8:25 UTC (permalink / raw)
  To: gregkh
  Cc: christian.gromm, andrey.shvetsov, linux-kernel, devel, sunil.m,
	Ravi Eluri

From: Ravi Eluri <venkataravi.e@techveda.org>

Fixes checkpatch warning:
macros should not use a trailing semicolon.

Signed-off-by: Ravi Eluri <venkataravi.e@techveda.org>
---
Note:
- Patch was compile tested and built(ARCH=arm) on linux-next
  (latest).
- No build issues reported.
---
 drivers/staging/most/core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/most/core.c b/drivers/staging/most/core.c
index 5ba2cd5..3dda8d8 100644
--- a/drivers/staging/most/core.c
+++ b/drivers/staging/most/core.c
@@ -36,7 +36,7 @@
 	struct list_head comp_list;
 } mc;
 
-#define to_driver(d) container_of(d, struct mostcore, drv);
+#define to_driver(d) container_of(d, struct mostcore, drv)
 
 struct pipe {
 	struct core_component *comp;
-- 
1.9.1

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-12-22  8:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-22  8:25 [PATCH] staging: most: Avoid trailing semicolon for macros venkataravi.e

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®