From: Geoff Levand <geoff@infradead.org>
To: linux-fbdev@vger.kernel.org
Subject: [PATCH] ps3fb: Fix compile warning
Date: Wed, 15 May 2013 03:12:37 +0000 [thread overview]
Message-ID: <1368587557.4004.3.camel@clam> (raw)
Fix the following compile warning when -Wparentheses is set:
drivers/video/ps3fb.c: warning: suggest parentheses around ‘+’ inside ‘<<’
Signed-off-by: Geoff Levand <geoff@infradead.org>
---
Hi Florian,
Please apply.
-Geoff
drivers/video/ps3fb.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/video/ps3fb.c b/drivers/video/ps3fb.c
index d9f08c6..a397271d 100644
--- a/drivers/video/ps3fb.c
+++ b/drivers/video/ps3fb.c
@@ -710,7 +710,7 @@ static int ps3fb_mmap(struct fb_info *info, struct vm_area_struct *vma)
r = vm_iomap_memory(vma, info->fix.smem_start, info->fix.smem_len);
dev_dbg(info->device, "ps3fb: mmap framebuffer P(%lx)->V(%lx)\n",
- info->fix.smem_start + vma->vm_pgoff << PAGE_SHIFT,
+ (info->fix.smem_start + vma->vm_pgoff) << PAGE_SHIFT,
vma->vm_start);
return r;
--
1.8.1.2
reply other threads:[~2013-05-15 3:12 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=1368587557.4004.3.camel@clam \
--to=geoff@infradead.org \
--cc=linux-fbdev@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.