Messages in this thread | | | Date | Wed, 25 Feb 2009 20:16:12 +0200 | From | Felipe Balbi <> | Subject | Re: [PATCH] usb: musb: - kill the compile warning |
| |
On Fri, Feb 06, 2009 at 06:23:30PM +0800, Bryan Wu wrote: > drivers/usb/musb/musb_core.c:1433: warning: assignment makes pointer > from integer without a cast > hw_ep->target_regs = musb_read_target_reg_base(i, mbase); > > static inline u16 musb_read_target_reg_base(u8 i, void __iomem *mbase); > > this is a common bug, but a bug still ? mbase is a 32/64 bit pointer, > but we return a u16 to assign to a pointer ? seems odd :) > > So return right pointer in the stub. > > Cc: Mike Frysinger <vapier.adi@gmail.com> > Signed-off-by: Bryan Wu <cooloney@kernel.org>
any new version coming ??
-- balbi
| |