commit | 5688d33aa293dfa122d66bef9c0258ddf7ef11e7 | [log] [tgz] |
---|---|---|
author | Jiasheng Jiang <jiasheng@iscas.ac.cn> | Thu Nov 17 14:56:52 2022 +0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat Jan 07 12:07:20 2023 +0100 |
tree | 0ad3df9d8d5898f065f5bb683632c84353d7fb97 | |
parent | 52a736cc7116f29b380e42e506146070abc21407 [diff] |
media: coda: Add check for dcoda_iram_alloc [ Upstream commit 6b8082238fb8bb20f67e46388123e67a5bbc558d ] As the coda_iram_alloc may return NULL pointer, it should be better to check the return value in order to avoid NULL poineter dereference, same as the others. Fixes: b313bcc9a467 ("[media] coda: simplify IRAM setup") Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Sasha Levin <sashal@kernel.org>