diff options
| author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2026-04-17 09:42:35 +0200 |
|---|---|---|
| committer | Jassi Brar <jassisinghbrar@gmail.com> | 2026-04-18 13:10:14 -0500 |
| commit | bbcf9af68bfedb3d9cc3c7eae62f5c844d8b78b9 (patch) | |
| tree | 16e7bd33781c8c738695fd5d6f8c638160a6d8d4 /include/linux/timerqueue.h | |
| parent | 88ebadbf0deefdaccdab868b44ff70a0a257f473 (diff) | |
mailbox: mailbox-test: initialize struct earlier
The waitqueue must be initialized before the debugfs files are created
because from that time, requests from userspace can already be made.
Similarily, drvdata and spinlock needs to be initialized before we
request the channel, otherwise dangling irqs might run into problems
like a NULL pointer exception.
Fixes: 8ea4484d0c2b ("mailbox: Add generic mechanism for testing Mailbox Controllers")
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Jassi Brar <jassisinghbrar@gmail.com>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
