Re: [PATCH] usb: musb: - kill the compile warning

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Friday 06 February 2009, Bryan Wu wrote:
> -       return (MUSB_BUSCTL_OFFSET(i, 0) + mbase);
> +       return (void __iomem *)(MUSB_BUSCTL_OFFSET(i, 0) + mbase);

Why is MUSB_BUSCTL_OFFSET() returning something other than
an integer?  "mbase" is already "void __iomem *", so the only
way that should trigger a warning is if that OFFSET() macro
is doing something odd.
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux