diff options
| author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2026-04-17 09:42:36 +0200 |
|---|---|---|
| committer | Jassi Brar <jassisinghbrar@gmail.com> | 2026-04-18 13:10:14 -0500 |
| commit | 6e937f4e769e60947909e3525965f0137b9039e8 (patch) | |
| tree | a3e257611ae7aed2c0d29acb7eeb9bad1b552e88 /kernel/workqueue.c | |
| parent | bbcf9af68bfedb3d9cc3c7eae62f5c844d8b78b9 (diff) | |
mailbox: mailbox-test: make data_ready a per-instance variable
While not the default case, multiple tests can be run simultaneously.
Then, data_ready being a global variable will be overwritten and the
per-instance lock will not help. Turn the global variable into a
per-instance one to avoid this problem.
Fixes: e339c80af95e ("mailbox: mailbox-test: don't rely on rx_buffer content to signal data ready")
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Jassi Brar <jassisinghbrar@gmail.com>
Diffstat (limited to 'kernel/workqueue.c')
0 files changed, 0 insertions, 0 deletions
