[PATCH 0/2] fsi: core: Lock scan mutex for master index removal

From: Eddie James
Date: Wed Apr 12 2023 - 14:56:21 EST


If a master scan occurs while the master is being unregistered,
the devicecs may end up with incorrect and possibly duplicate names,
resulting in kernel warnings. Ensure the master index isn't changed
outside of the scan mutex.
In addition, add some trace events to debug any further issues in this
area.

Eddie James (2):
fsi: core: Lock scan mutex for master index removal
fsi: core: Add trace events for scan and unregister

drivers/fsi/fsi-core.c | 6 +++++-
include/trace/events/fsi.h | 31 +++++++++++++++++++++++++++++++
2 files changed, 36 insertions(+), 1 deletion(-)

--
2.31.1