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-next>] [day] [month] [year] [list]
Message-ID: <20251112145735.2075527-1-andriy.shevchenko@linux.intel.com>
Date: Wed, 12 Nov 2025 15:55:07 +0100
From: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
To: Jonathan Cameron <Jonathan.Cameron@...wei.com>,
	linux-iio@...r.kernel.org,
	linux-kernel@...r.kernel.org
Cc: Jonathan Cameron <jic23@...nel.org>,
	David Lechner <dlechner@...libre.com>,
	Nuno Sá <nuno.sa@...log.com>,
	Andy Shevchenko <andy@...nel.org>,
	Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Subject: [PATCH v1 0/3] iio: core: fix error path in iio_device_alloc()

The series is induced by the similar fixes in viio_trigger_alloc().
Basically two things happen here: 1) add missed mutex_destroy()
calls, and 2) refactor to make sure we clean resources with put_device()
when appropriate.

Andy Shevchenko (3):
  iio: core: add missing mutex_destroy in iio_dev_release()
  iio: core: Clean up device correctly on iio_device_alloc() failure
  iio: core: Replace lockdep_set_class() + mutex_init() by combined call

 drivers/iio/industrialio-core.c | 18 +++++++++++-------
 1 file changed, 11 insertions(+), 7 deletions(-)

-- 
2.50.1


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ