diff options
author | Orlando Chamberlain <orlandoch.dev@gmail.com> | 2023-06-14 16:49:32 +1000 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2023-06-16 16:47:44 +0200 |
commit | 669f1f48b07f5dd9146988fab57cbc06794b8c73 (patch) | |
tree | 6de4957af2e57e8ff3ae5029753000f7dda5002a /drivers/platform/olpc | |
parent | 966cca72ab20289083521a385fa56035d85a222d (diff) |
platform/x86: apple-gmux: don't use be32_to_cpu and cpu_to_be32
Sparce doesn't seem to like using be32_to_cpu and cpu_to_be32 to convert
values for the MMIO gmux to/from the host architecture.
Instead use iowrite32be and ioread32be to always convert, which should be
fine because apple-gmux is only used on x86 with is always little endian.
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202305161712.5l3f4iI4-lkp@intel.com/
Signed-off-by: Orlando Chamberlain <orlandoch.dev@gmail.com>
Link: https://lore.kernel.org/r/20230614064931.3263-2-orlandoch.dev@gmail.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'drivers/platform/olpc')
0 files changed, 0 insertions, 0 deletions