Files
linux-stable-mirror/drivers/mailbox
Wolfram Sang a49ddc4962 mailbox: mailbox-test: make data_ready a per-instance variable
[ Upstream commit 6e937f4e76 ]

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: e339c80af9 ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2026-06-01 17:29:42 +02:00
..