diff options
author | Matthew Gerlach <matthew.gerlach@linux.intel.com> | 2020-06-19 09:43:41 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-06-19 12:56:06 +0100 |
commit | d9dd0fb0e197ae766f0f5e06d23f5f5e1888c511 (patch) | |
tree | 290ebbc368051790b60777674d4dbbdc23777f5a /tools/perf/scripts/python/mem-phys-addr.py | |
parent | 3820061d38156d88443d32a9a6c701d281234746 (diff) |
spi: altera: fix size mismatch on 64 bit processors
The spi-altera driver was originally written with a 32
bit processor, where sizeof(unsigned long) is 4. On a
64 bit processor sizeof(unsigned long) is 8. Change the structure
member to u32 to match the actual size of the control
register.
Signed-off-by: Matthew Gerlach <matthew.gerlach@linux.intel.com>
Signed-off-by: Xu Yilun <yilun.xu@intel.com>
Reviewed-by: Tom Rix <trix@redhat.com>
Link: https://lore.kernel.org/r/1592531021-11412-4-git-send-email-yilun.xu@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions