[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Yoi17igIZH7y2Hy0@shikoro>
Date: Sat, 21 May 2022 11:50:38 +0200
From: Wolfram Sang <wsa@...nel.org>
To: Alexander A Sverdlin <alexander.sverdlin@...ia.com>
Cc: linux-i2c@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] i2c: core: Workaround false-positive LOCKDEP in
delete_device
> + /*
> + * 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?
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists