lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ