sparc: set a default 32-bit dma mask for OF devices
authorChristoph Hellwig <hch@lst.de>
Tue, 28 Aug 2018 09:25:51 +0000 (11:25 +0200)
committerChristoph Hellwig <hch@lst.de>
Sun, 2 Sep 2018 08:02:04 +0000 (10:02 +0200)
commit5a7faef72eb9d51487feac467c8c68afa459534c
tree2a4dd7f4e3c497f1f602b2c858d0518898682870
parentc1d0af1a1d5dfde880f588eceb4c00710e0f60ff
sparc: set a default 32-bit dma mask for OF devices

This keeps the historic default behavior for devices without a DMA mask,
but removes the warning about a lacking DMA mask for doing DMA without
a mask.

Reported-by: Meelis Roos <mroos@linux.ee>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Tested-by: Guenter Roeck <linux@roeck-us.net>
arch/sparc/kernel/of_device_32.c
arch/sparc/kernel/of_device_64.c