)
> +#define mmio_write32be(val, port) \
> + __raw_writel((u32 __force)cpu_to_be32(val), port)
> #endif
I think that in this sort of replacement, it's better to not split
the lines (even if larger than 80, that's it).
-- Luc Van Oostenryck
On Thu, Mar 22, 2018 at 11:16:55AM -0600, Logan Gunthorpe wrote:
> Sparse produces a few warnings of the form:
>
> lib/iomap.c:84:9: warning: cast to restricted __be16
>
> (The kbuild robot has recently started running such checks)
Reviewed-by: Luc Van Oostenryck <luc.vanoostenr...@gmail.com>
and code analysis tools alike.
>
> Signed-off-by: Logan Gunthorpe <log...@deltatee.com>
> Cc: Philippe Ombredanne <pombreda...@nexb.com>
> Cc: Thomas Gleixner <t...@linutronix.de>
> Cc: Kate Stewart <kstew...@linuxfoundation.org>
> Cc: Greg Kroah-Hartman <gre...