]> asedeno.scripts.mit.edu Git - linux.git/commit
iwlwifi: stop passing bogus gfp flags arguments to dma_alloc_coherent
authorChristoph Hellwig <hch@lst.de>
Fri, 14 Jun 2019 13:47:20 +0000 (15:47 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 6 Sep 2019 12:31:19 +0000 (15:31 +0300)
commit2d46f7af5ee32cee327b982f60fdf9da11e3efcc
tree0399efd71bf65ce48b9db3d765f6f614c0b5fdb0
parent5b79c323525ba8ece9b8b17ce89983a76add5a83
iwlwifi: stop passing bogus gfp flags arguments to dma_alloc_coherent

dma_alloc_coherent is not just the page allocator.  The only valid
arguments to pass are either GFP_ATOMIC or GFP_ATOMIC with possible
modifiers of __GFP_NORETRY or __GFP_NOWARN.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/fw/dbg.c
drivers/net/wireless/intel/iwlwifi/pcie/trans.c