]> www.infradead.org Git - users/jedix/linux-maple.git/commit
sparc64: dax_overflow_check reports incorrect data
authorSanath Kumar <sanath.s.kumar@oracle.com>
Tue, 4 Apr 2017 05:14:42 +0000 (00:14 -0500)
committerChuck Anderson <chuck.anderson@oracle.com>
Mon, 24 Apr 2017 04:43:26 +0000 (21:43 -0700)
commit3577f103983d53ed6b7b44e3d199582273946c71
tree675b1b17ece04dcb036751028c038fba24aaffda
parent993d1d94fd85e3fa67e9730fab1d71668aba25cc
sparc64: dax_overflow_check reports incorrect data

Orabug: 25820395

The range reported for a page overflow is incorrect when
the address is page_size aligned. Add 1 to the address so
that it always reports the next page_size boundary.

Reviewed-by: Rob Gardner <rob.gardner@oracle.com>
Signed-off-by: Sanath Kumar <sanath.s.kumar@oracle.com>
Signed-off-by: Allen Pais <allen.pais@oracle.com>
arch/sparc/dax/dax_misc.c