From: Allen Pais Date: Fri, 14 Apr 2017 10:38:55 +0000 (+0530) Subject: Revert "sparc64: DAX request for non 4MB memory should return with unique errno" X-Git-Tag: v4.1.12-98.0.20170517_2143~33^2~7 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=f1a8292de861a20e44b1872f51b5ed649573fd7e;p=users%2Fjedix%2Flinux-maple.git Revert "sparc64: DAX request for non 4MB memory should return with unique errno" This reverts commit c835e602d654df4753cc25bacfd2e3ae023fbc23. Signed-off-by: Allen Pais --- diff --git a/arch/sparc/dax/dax_mm.c b/arch/sparc/dax/dax_mm.c index fd3bd5ace70d7..510672d85539b 100644 --- a/arch/sparc/dax/dax_mm.c +++ b/arch/sparc/dax/dax_mm.c @@ -38,7 +38,6 @@ static int dax_alloc_ram(struct file *filp, struct vm_area_struct *vma) len = vma->vm_end - vma->vm_start; if (len & (PAGE_SIZE - 1)) { dax_err("request (0x%lx) not a multiple of page size", len); - ret = -EOVERFLOW; goto done; }