[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <164496455010.67358.12781580107745972027.b4-ty@bootlin.com>
Date: Tue, 15 Feb 2022 23:35:57 +0100
From: Alexandre Belloni <alexandre.belloni@...tlin.com>
To: Hugo Villeneuve <hugo@...ovil.com>,
Alessandro Zummo <a.zummo@...ertech.it>
Cc: Alexandre Belloni <alexandre.belloni@...tlin.com>,
Hugo Villeneuve <hvilleneuve@...onoff.com>,
linux-rtc@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] rtc: pcf2127: fix bug when reading alarm registers
On Tue, 8 Feb 2022 11:29:07 -0500, Hugo Villeneuve wrote:
> From: Hugo Villeneuve <hvilleneuve@...onoff.com>
>
> The first bug is that reading the 5 alarm registers results in a read
> operation of 20 bytes. The reason is because the destination buffer is
> defined as an array of "unsigned int", and we use the sizeof()
> operator on this array to define the bulk read count.
>
> [...]
Applied, thanks!
[1/1] rtc: pcf2127: fix bug when reading alarm registers
commit: 73ce05302007eece23a6acb7dc124c92a2209087
Best regards,
--
Alexandre Belloni <alexandre.belloni@...tlin.com>
Powered by blists - more mailing lists