m68k/mac: Fix SWIM memory resource end address
authorFinn Thain <fthain@telegraphics.com.au>
Thu, 12 Apr 2018 00:50:14 +0000 (20:50 -0400)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Tue, 22 May 2018 08:31:13 +0000 (10:31 +0200)
commit3e2816c1078eb2b5a3276eb83d4da156b3e2d04f
treeb6bb4450f3de9dbbd95397f43d2b4ccf87be0f13
parent6da6c0db5316275015e8cc2959f12a17584aeb64
m68k/mac: Fix SWIM memory resource end address

The resource size is 0x2000 == end - start + 1.
Therefore end == start + 0x2000 - 1.

Cc: Laurent Vivier <lvivier@redhat.com>
Cc: stable@vger.kernel.org # v4.14+
Tested-by: Stan Johnson <userm57@yahoo.com>
Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Acked-by: Laurent Vivier <lvivier@redhat.com>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
arch/m68k/mac/config.c