projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b41709f
)
USB: isp1362: fix inw warning on Blackfin systems
author
Mike Frysinger
<vapier@gentoo.org>
Fri, 21 May 2010 08:37:42 +0000
(
04:37
-0400)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Fri, 4 Jun 2010 20:16:18 +0000
(13:16 -0700)
The Blackfin code is incorrectly casting the argument to inw() to a pointer.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/isp1362.h
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/host/isp1362.h
b/drivers/usb/host/isp1362.h
index 5151516ea1dee98a093b35cee1b89f4bca3cd457..d995351f9bed8cf31d07fb9163a328f22cf88aa6 100644
(file)
--- a/
drivers/usb/host/isp1362.h
+++ b/
drivers/usb/host/isp1362.h
@@
-65,7
+65,7
@@
static inline void delayed_insw(unsigned int addr, void *buf, int len)
unsigned short *bp = (unsigned short *)buf;
while (len--) {
DUMMY_DELAY_ACCESS;
- *bp++ = inw(
(void *)
addr);
+ *bp++ = inw(addr);
}
}