mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: venkataravi.e@techveda.org
To: gregkh@linuxfoundation.org
Cc: christian.gromm@microchip.com, andrey.shvetsov@k2l.de,
	linux-kernel@vger.kernel.org, devel@driverdev.osuosl.org,
	sunil.m@techveda.org, Ravi Eluri <venkataravi.e@techveda.org>
Subject: [PATCH] staging: most: Avoid trailing semicolon for macros
Date: Fri, 22 Dec 2017 13:55:44 +0530	[thread overview]
Message-ID: <1513931144-30058-1-git-send-email-venkataravi.e@techveda.org> (raw)

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

                 reply	other threads:[~2017-12-22  8:25 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1513931144-30058-1-git-send-email-venkataravi.e@techveda.org \
    --to=venkataravi.e@techveda.org \
    --cc=andrey.shvetsov@k2l.de \
    --cc=christian.gromm@microchip.com \
    --cc=devel@driverdev.osuosl.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sunil.m@techveda.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®