diff options
| author | Felix Gu <ustc.gu@gmail.com> | 2026-02-25 19:33:24 +0300 |
|---|---|---|
| committer | Jassi Brar <jassisinghbrar@gmail.com> | 2026-03-29 18:50:50 +0300 |
| commit | 1e0ec9719f58d53da61adf830e81f4af892e4582 (patch) | |
| tree | bf3d3f2ab46358eee918f1ccd24cded4b6b0a433 /include | |
| parent | df1de2abf907ab4fef991eaddab1981c1a9354cf (diff) | |
| download | linux-1e0ec9719f58d53da61adf830e81f4af892e4582.tar.xz | |
mailbox: mtk-vcp-mailbox: Fix the return value in mtk_vcp_mbox_xlate()
The return value of mtk_vcp_mbox_xlate() is checked by IS_ERR(), so
return NULL is incorrect and could lead to a NULL pointer dereference.
Fixes: b562abd95672 ("mailbox: mediatek: Add mtk-vcp-mailbox driver")
Signed-off-by: Felix Gu <ustc.gu@gmail.com>
Signed-off-by: Jassi Brar <jassisinghbrar@gmail.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
