Skip to content
Commit cf9f123b authored by Matthew Wilcox's avatar Matthew Wilcox
Browse files

NVMe: Use dma_set_mask() correctly



In some circumstances setting a 64-bit DMA mask can fail, as explained
in Documentation/DMA-API-HOWTO.txt.  Use the recommended code sequence
to set a 32-bit DMA mask if setting a 64-bit DMA mask fails.

Reported-by: default avatarChayan Biswas <Chayan.Biswas@sandisk.com>
Signed-off-by: default avatarMatthew Wilcox <matthew.r.wilcox@intel.com>
parent cf90bc48
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment