powerpc/powernv: More little endian issues in OPAL RTC driver
authorAnton Blanchard <anton@samba.org>
Mon, 23 Sep 2013 02:05:05 +0000 (12:05 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 11 Oct 2013 05:48:51 +0000 (16:48 +1100)
commit6feff6d4a5e1ac8c48d88860bf705be7709b42af
tree48da9235711b88efc75d25ad903100220bc7e681
parent29186097f9267938af399897482c5a53686b3cce
powerpc/powernv: More little endian issues in OPAL RTC driver

Sparse caught an issue where opal_set_rtc_time was incorrectly
byteswapping. Also fix a number of sparse warnings.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/opal.h
arch/powerpc/platforms/powernv/opal-rtc.c