[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <171952691798.520431.5224005247687748175.b4-ty@bootlin.com>
Date: Fri, 28 Jun 2024 00:22:14 +0200
From: Alexandre Belloni <alexandre.belloni@...tlin.com>
To: Srinivas Kandagatla <srinivas.kandagatla@...aro.org>,
Dan Carpenter <dan.carpenter@...aro.org>,
Joy Chakraborty <joychakr@...gle.com>
Cc: linux-rtc@...r.kernel.org, linux-kernel@...r.kernel.org,
stable@...r.kernel.org
Subject: Re: [PATCH] rtc: cmos: Fix return value of nvmem callbacks
On Wed, 12 Jun 2024 08:36:35 +0000, Joy Chakraborty wrote:
> Read/write callbacks registered with nvmem core expect 0 to be returned
> on success and a negative value to be returned on failure.
>
> cmos_nvram_read()/cmos_nvram_write() currently return the number of
> bytes read or written, fix to return 0 on success and -EIO incase number
> of bytes requested was not read or written.
>
> [...]
Applied, thanks!
[1/1] rtc: cmos: Fix return value of nvmem callbacks
https://git.kernel.org/abelloni/c/1c184baccf0d
Best regards,
--
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
Powered by blists - more mailing lists