From: Paul Davies C <pauldaviesc@gmail.com>
To: linux-kernel@vger.kernel.org
Cc: gregkh@linuxfoundation.org, aaro.koskinen@iki.fi,
devel@driverdev.osuosl.org, Paul Davies C <pauldaviesc@gmail.com>
Subject: [PATCH 2/3] Enclose complex macro with parantheses in staging/octeon-usb/octeon-hcd.c
Date: Sun, 11 May 2014 13:38:22 +0530 [thread overview]
Message-ID: <1399795703-6681-3-git-send-email-pauldaviesc@gmail.com> (raw)
In-Reply-To: <1399795703-6681-1-git-send-email-pauldaviesc@gmail.com>
Complex macro is enlosed with parantheses.
Signed-off-by: Paul Davies C <pauldaviesc@gmail.com>
---
drivers/staging/octeon-usb/octeon-hcd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/octeon-usb/octeon-hcd.c b/drivers/staging/octeon-usb/octeon-hcd.c
index a65d6f8..d03095a 100644
--- a/drivers/staging/octeon-usb/octeon-hcd.c
+++ b/drivers/staging/octeon-usb/octeon-hcd.c
@@ -246,7 +246,7 @@ enum cvmx_usb_pipe_flags {
};
/* Normal prefetch that use the pref instruction. */
-#define CVMX_PREFETCH(address, offset) asm volatile ("pref %[type], %[off](%[rbase])" : : [rbase] "d" (address), [off] "I" (offset), [type] "n" (0))
+#define CVMX_PREFETCH(address, offset) (asm volatile ("pref %[type], %[off](%[rbase])" : : [rbase] "d" (address), [off] "I" (offset), [type] "n" (0)))
/* Maximum number of times to retry failed transactions */
#define MAX_RETRIES 3
--
1.7.9.5
next prev parent reply other threads:[~2014-05-11 8:09 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-11 8:08 [PATCH 0/3] Fix coding style of staging/octeon-usb/octeon-hcd.c Paul Davies C
2014-05-11 8:08 ` [PATCH 1/3] Add blank line after all declarations in staging/octeon-usb/octeon-hcd.c Paul Davies C
2014-05-11 8:08 ` Paul Davies C [this message]
2014-05-11 10:55 ` [PATCH 2/3] Enclose complex macro with parantheses " Aaro Koskinen
2014-05-11 11:47 ` Paul Davies C
2014-05-11 8:08 ` [PATCH 3/3] Fix lines with more than 80 chars " Paul Davies C
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=1399795703-6681-3-git-send-email-pauldaviesc@gmail.com \
--to=pauldaviesc@gmail.com \
--cc=aaro.koskinen@iki.fi \
--cc=devel@driverdev.osuosl.org \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.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 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.