]> git.baikalelectronics.ru Git - kernel.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)
commit56ca86495c9ec321c9a9d9fe33f8bbdc729eae41
tree0399efd71bf65ce48b9db3d765f6f614c0b5fdb0
parent4ac5d47a86963b284c3f561f736420bbc518f2bf
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