summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorWolfram Sang <wsa+renesas@sang-engineering.com>2026-04-13 12:42:38 +0200
committerJassi Brar <jassisinghbrar@gmail.com>2026-04-18 13:07:30 -0500
commitc1aad75595fb67edc7fda8af249d3b886efa1be9 (patch)
treea89e425bb5911ec43990c9a2f6da0d3fddb411e3 /include/linux
parentc02053a9055d5fdfd32432287cca8958db1d5bc5 (diff)
mailbox: add sanity check for channel array
Fail gracefully if there is no channel array attached to the mailbox controller. Otherwise the later dereference will cause an OOPS which might not be seen because mailbox controllers might instantiate very early. Remove the comment explaining the obvious while here. Fixes: 2b6d83e2b8b7 ("mailbox: Introduce framework for mailbox") Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Jassi Brar <jassisinghbrar@gmail.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions