All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Crypto: gf128mul : fixed a parentheses coding style issue
@ 2014-10-12 20:49 Mike Roocroft
  2014-10-12 23:01 ` Joe Perches
  0 siblings, 1 reply; 7+ messages in thread
From: Mike Roocroft @ 2014-10-12 20:49 UTC (permalink / raw)
  To: herbert; +Cc: davem, linux-crypto, linux-kernel, Mike Roocroft

Fixed a coding style issue.

Signed-off-by: Mike Roocroft <mike.linux@btinternet.com>
---
 crypto/gf128mul.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/crypto/gf128mul.c b/crypto/gf128mul.c
index 5276607..b143d84 100644
--- a/crypto/gf128mul.c
+++ b/crypto/gf128mul.c
@@ -97,7 +97,7 @@
     the table above
 */
 
-#define xx(p, q)	0x##p##q
+#define xx(p, q)	(0x##p##q)
 
 #define xda_bbe(i) ( \
 	(i & 0x80 ? xx(43, 80) : 0) ^ (i & 0x40 ? xx(21, c0) : 0) ^ \
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 7+ messages in thread
* [PATCH] Crypto: gf128mul : fixed a parentheses coding style issue
@ 2014-10-05 10:35 Mike Roocroft
  0 siblings, 0 replies; 7+ messages in thread
From: Mike Roocroft @ 2014-10-05 10:35 UTC (permalink / raw)
  To: herbert; +Cc: davem, linux-crypto, linux-kernel, Mike Roocroft

Fixed a coding style issue.

Signed-off-by: Mike Roocroft <mike.linux@btinternet.com>
---
 crypto/gf128mul.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/crypto/gf128mul.c b/crypto/gf128mul.c
index 5276607..b143d84 100644
--- a/crypto/gf128mul.c
+++ b/crypto/gf128mul.c
@@ -97,7 +97,7 @@
     the table above
 */
 
-#define xx(p, q)	0x##p##q
+#define xx(p, q)	(0x##p##q)
 
 #define xda_bbe(i) ( \
 	(i & 0x80 ? xx(43, 80) : 0) ^ (i & 0x40 ? xx(21, c0) : 0) ^ \
-- 
2.1.0

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

end of thread, other threads:[~2014-10-13 20:56 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-12 20:49 [PATCH] Crypto: gf128mul : fixed a parentheses coding style issue Mike Roocroft
2014-10-12 23:01 ` Joe Perches
2014-10-13 20:12   ` Michael Roocroft
2014-10-13 20:15     ` Joe Perches
2014-10-13 20:52       ` Michael Roocroft
2014-10-13 20:56         ` Joe Perches
  -- strict thread matches above, loose matches on Subject: below --
2014-10-05 10:35 Mike Roocroft

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.