Re: [PATCH 19/21] ARM: OMAP: Introduce omap_globals and prcm access functions for multi-omap

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

 



On Fri, Jun 06, 2008 at 06:30:51PM -0700, Tony Lindgren wrote:
> @@ -51,7 +50,7 @@ u32 omap_ctrl_readl(u16 offset)
>  void omap_ctrl_writeb(u8 val, u16 offset)
>  {
>  	pr_debug("omap_ctrl_writeb: writing 0x%0x to 0x%0x\n", val,
> -		 (u32)OMAP_CTRL_REGADDR(offset));
> +		 (__force u32)OMAP_CTRL_REGADDR(offset));

Casting to unsigned long avoids the need for __force.  __force should be
used sparingly.  Alternatively, use '%p' to print a pointer.

Apart from that, ok.
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux