- First patch just cleans up sizeof usage so that checkpatch complains
  less about the second patch.

- Second patch replaces uses of readl()/writel() with raw io access +
  explict endian conversion to avoid getting the wrong values where
  readl()/writel() are abnormal like m68k nommu for non-coldfire.

Tested on QEMU + patches to make a 68000 virt machine possible.

Daniel Palmer (2):
  virtio-mmio: Replace sizeof x with sizeof(x)
  virtio-mmio: Use raw io accessors to avoid arch issues

 drivers/virtio/virtio_mmio.c | 140 ++++++++++++++++++-----------------
 1 file changed, 74 insertions(+), 66 deletions(-)

-- 
2.51.0


Reply via email to