summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2021-12-04 19:38:25 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2021-12-04 19:38:25 +0300
commitbbef3c7a63d2a4cb0f3f839db9e767f168c5e348 (patch)
treee2e04c0b5bff5b866e8a9577921e964949ad4425 /drivers
parent8b9a02280ebe209ae14fc478b0285745544a257c (diff)
parente3f9387aea67742b9d1f4de8e5bb2fd08a8a4584 (diff)
downloadlinux-bbef3c7a63d2a4cb0f3f839db9e767f168c5e348.tar.xz
Merge tag 'block-5.16-2021-12-03' of git://git.kernel.dk/linux-block
Pull block fix from Jens Axboe: "A single fix for repeated printk spam from loop" * tag 'block-5.16-2021-12-03' of git://git.kernel.dk/linux-block: loop: Use pr_warn_once() for loop_control_remove() warning
Diffstat (limited to 'drivers')
-rw-r--r--drivers/block/loop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/loop.c b/drivers/block/loop.c
index a154cab6cd98..c3a36cfaa855 100644
--- a/drivers/block/loop.c
+++ b/drivers/block/loop.c
@@ -2103,7 +2103,7 @@ static int loop_control_remove(int idx)
int ret;
if (idx < 0) {
- pr_warn("deleting an unspecified loop device is not supported.\n");
+ pr_warn_once("deleting an unspecified loop device is not supported.\n");
return -EINVAL;
}