Re: [PATCH] i2c: core: Workaround false-positive LOCKDEP in delete_device

From: Wolfram Sang
Date: Sat May 21 2022 - 05:50:54 EST



> + /*
> + * We drop the mutex here, because device unregister
> + * will take sysfs lock (kn->count) which, as LOCKDEP
> + * would think, depends on this mutex
> + */

I have to ask: can't lockdep be fixed or the lock somehow be annotated
to prevent the false positive?

Attachment: signature.asc
Description: PGP signature