mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 03:24:45 +01:00
swiotlb: Remove redundant __GFP_NOWARN
Commit 16f5dfbc85 ("gfp: include __GFP_NOWARN in GFP_NOWAIT")
made GFP_NOWAIT implicitly include __GFP_NOWARN.
Therefore, explicit __GFP_NOWARN combined with GFP_NOWAIT
(e.g., `GFP_NOWAIT | __GFP_NOWARN`) is now redundant. Let's clean
up these redundant flags across subsystems.
No functional changes.
Signed-off-by: Qianfeng Rong <rongqianfeng@vivo.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Link: https://lore.kernel.org/r/20250805023222.332920-1-rongqianfeng@vivo.com
This commit is contained in:
parent
9f683dfe80
commit
110aa2c74d
1 changed files with 1 additions and 1 deletions
|
|
@ -1209,7 +1209,7 @@ static int swiotlb_find_slots(struct device *dev, phys_addr_t orig_addr,
|
|||
nslabs = nr_slots(alloc_size);
|
||||
phys_limit = min_not_zero(*dev->dma_mask, dev->bus_dma_limit);
|
||||
pool = swiotlb_alloc_pool(dev, nslabs, nslabs, 1, phys_limit,
|
||||
GFP_NOWAIT | __GFP_NOWARN);
|
||||
GFP_NOWAIT);
|
||||
if (!pool)
|
||||
return -1;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue