commit | ccff1ae4df08ad79d055ad255fd578786f17a313 | [log] [tgz] |
---|---|---|
author | Philippe Mathieu-Daudé <f4bug@amsat.org> | Tue May 26 11:40:51 2020 +0200 |
committer | Thomas Huth <huth@tuxfamily.org> | Sat May 30 09:16:28 2020 +0200 |
tree | fb25e9779ba9226f42638a5074e71409b82038b2 | |
parent | c86274bc2e34295764fb44c2aef3cf29623f9b4b [diff] |
hw/m68k/mcf5206: Reduce m5206_mbar_read/write() offset arg to 16-bit All calls to m5206_mbar_read/m5206_mbar_write are used with 'offset = hwaddr & 0x3ff', so we are sure the offset fits in 16-bit. Suggested-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-Id: <20200526094052.1723-2-f4bug@amsat.org> Signed-off-by: Thomas Huth <huth@tuxfamily.org>