]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd8e33cf68e3651077d318a684c956b2af0e14f18
tree48da9235711b88efc75d25ad903100220bc7e681
parentc338fb39578bc1a20da286f97838170bf8553d5e
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