summaryrefslogtreecommitdiff
path: root/kernel/watch_queue.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2023-03-31 21:37:02 +0200
committerTakashi Iwai <tiwai@suse.de>2023-03-31 21:37:02 +0200
commitf43359501e2d70ba8a68f2302c1009d9194fc60d (patch)
tree5fb84bd31e4232c3b3af397c4956ba53b613c064 /kernel/watch_queue.c
parent9fdc1605c504204e0fdec7892b29c916579e06f3 (diff)
parente3720f92e0237921da537e47a0b24e27899203f8 (diff)
Merge tag 'asoc-fix-v6.3-rc4' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus
ASoC: Fixes for v6.3 More fixes for v6.3, plus a few new trivial device ID additions. Almost all of this is for the Intel drivers, though there is one core fix from Shengjiu which ensures that format constraints are correctly applied in some cases where they were missed.
Diffstat (limited to 'kernel/watch_queue.c')
-rw-r--r--kernel/watch_queue.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/watch_queue.c b/kernel/watch_queue.c
index a6f9bdd956c3..f10f403104e7 100644
--- a/kernel/watch_queue.c
+++ b/kernel/watch_queue.c
@@ -273,6 +273,7 @@ long watch_queue_set_size(struct pipe_inode_info *pipe, unsigned int nr_notes)
if (ret < 0)
goto error;
+ ret = -ENOMEM;
pages = kcalloc(sizeof(struct page *), nr_pages, GFP_KERNEL);
if (!pages)
goto error;