loop: remove redundant __GFP_NOWARN flag
PATCH 1/1 loop: remove redundant __GFP_NOWARN flag
GFP_NOWAIT already includes __GFP_NOWARN, so let's remove the redundant __GFP_NOWARN.
Signed-off-by Pedro Demarchi Gomes <[email protected]>
--- drivers/block/loop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/block/loop.c +1 -1
@@ -824,7 +824,7 @@ static void loop_queue_work(struct loop_device *lo, struct loop_cmd *cmd)if (worker) goto queue_work; - worker =kzalloc (sizeof (struct loop_worker ),GFP_NOWAIT | __GFP_NOWARN); + worker =kzalloc (sizeof (struct loop_worker ),GFP_NOWAIT );/* * In the event we cannot allocate a worker, just queue on the * rootcg worker and issue the I/O as the rootcg
Signature · 1 line
2.43.0
Dear patch submitter,
Blktests CI has tested the following submission:
Status: FAILURE Name: loop: remove redundant __GFP_NOWARN flag Patchwork: https://patchwork.kernel.org/project/linux-block/list/?series=1009147&state=* Run record: https://github.com/linux-blktests/linux-block/actions/runs/18322242115
No failure
Quoted 4 lines · Pedro Demarchi Gomes
GFP_NOWAITalready includes__GFP_NOWARN, so let's remove the redundant__GFP_NOWARN.
Applied, thanks!
[1/1] loop: remove redundant __GFP_NOWARN flag
commit: 455281c0ef4e2cabdfe2e8b83fa6010d5210811c
Best regards,
Signature · 1 line
Jens Axboe