commit | cf9f123b38345b2c2777e642eb9bb561f4b7de91 | [log] [tgz] |
---|---|---|
author | Matthew Wilcox <matthew.r.wilcox@intel.com> | Tue May 28 16:46:46 2013 -0400 |
committer | Matthew Wilcox <matthew.r.wilcox@intel.com> | Tue May 28 16:46:46 2013 -0400 |
tree | fafec4fa1735722cc79766b7f55864252c671aad | |
parent | cf90bc4830b858487fe4b9b9ecd0031e23ca3e83 [diff] |
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: Chayan Biswas <Chayan.Biswas@sandisk.com> Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>