lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1513931144-30058-1-git-send-email-venkataravi.e@techveda.org>
Date:   Fri, 22 Dec 2017 13:55:44 +0530
From:   venkataravi.e@...hveda.org
To:     gregkh@...uxfoundation.org
Cc:     christian.gromm@...rochip.com, andrey.shvetsov@....de,
        linux-kernel@...r.kernel.org, devel@...verdev.osuosl.org,
        sunil.m@...hveda.org, Ravi Eluri <venkataravi.e@...hveda.org>
Subject: [PATCH] staging: most: Avoid trailing semicolon for macros

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

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

Signed-off-by: Ravi Eluri <venkataravi.e@...hveda.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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ