aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorFinn Thain <[email protected]>2018-05-17 20:07:13 +1000
committerGeert Uytterhoeven <[email protected]>2018-05-31 09:02:21 +0200
commitb12c8a70643ffe2598c572cd206e4f68c524eb6f (patch)
tree551cc2b429bc08d3827de079239a91ca6a5a49e1 /lib/test_overflow.c
parent3f90f9ef2dda316d64e420d5d51ba369587ccc55 (diff)
m68k: Set default dma mask for platform devices
This avoids a WARNING splat when loading the macsonic or macmace driver. Please see commit 205e1b7f51e4 ("dma-mapping: warn when there is no coherent_dma_mask"). This implementation of arch_setup_pdev_archdata() differs from the powerpc one, in that this one avoids clobbering a device dma mask which has already been initialized. Cc: Christoph Hellwig <[email protected]> Cc: Greg Ungerer <[email protected]> Signed-off-by: Finn Thain <[email protected]> Acked-by: Greg Ungerer <[email protected]> Signed-off-by: Geert Uytterhoeven <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions