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]
Message-ID:
 <CY4PR03MB33997BF46685A6E43BF40EAA9B65A@CY4PR03MB3399.namprd03.prod.outlook.com>
Date: Mon, 9 Feb 2026 12:13:28 +0000
From: "Miclaus, Antoniu" <Antoniu.Miclaus@...log.com>
To: "Miclaus, Antoniu" <Antoniu.Miclaus@...log.com>,
        Linus Walleij
	<linusw@...nel.org>,
        Jonathan Cameron <jic23@...nel.org>,
        David Lechner
	<dlechner@...libre.com>,
        "Sa, Nuno" <Nuno.Sa@...log.com>, Andy Shevchenko
	<andy@...nel.org>,
        "linux-iio@...r.kernel.org" <linux-iio@...r.kernel.org>,
        "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: RE: [PATCH v3 0/2] iio: gyro: mpu3050: fix pm_runtime error handling

> -----Original Message-----
> From: Antoniu Miclaus <antoniu.miclaus@...log.com>
> Sent: Monday, February 9, 2026 1:33 PM
> To: Linus Walleij <linusw@...nel.org>; Jonathan Cameron <jic23@...nel.org>;
> David Lechner <dlechner@...libre.com>; Sa, Nuno <Nuno.Sa@...log.com>;
> Andy Shevchenko <andy@...nel.org>; linux-iio@...r.kernel.org; linux-
> kernel@...r.kernel.org
> Cc: Miclaus, Antoniu <Antoniu.Miclaus@...log.com>
> Subject: [PATCH v3 0/2] iio: gyro: mpu3050: fix pm_runtime error handling
> 
> Fix pm_runtime error handling across the mpu3050 driver. The existing
> code uses pm_runtime_get_sync() without checking return values, allowing
> operations to proceed even when the device fails to resume.
> 
> Replace pm_runtime_get_sync() with pm_runtime_resume_and_get() and
> propagate errors appropriately. Unlike pm_runtime_get_sync(), the usage
> count is not incremented on error.
> 
> Changes in v3:
> - Rename patches to focus on fix rather than API change
> - Add Fixes: tags
> - Collect Reviewed-by

Sent by mistake, only the cover-letter. This patch can be ignored.

> Antoniu Miclaus (2):
>   iio: gyro: mpu3050-i2c: fix pm_runtime error handling in bypass_select
>   iio: gyro: mpu3050-core: fix pm_runtime error handling
> 
>  drivers/iio/gyro/mpu3050-core.c | 17 +++++++++++++----
>  drivers/iio/gyro/mpu3050-i2c.c  |  3 +--
>  2 files changed, 14 insertions(+), 6 deletions(-)
> 
> --
> 2.43.0


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ