[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <176523152338.342815.273365090583562629.b4-ty@bootlin.com>
Date: Mon, 8 Dec 2025 23:09:59 +0100
From: Alexandre Belloni <alexandre.belloni@...tlin.com>
To: Nick Huang <sef1548@...il.com>
Cc: linux-rtc@...r.kernel.org, linux-kernel@...r.kernel.org,
kusogame68@...il.com, byron.bbradley@...il.com
Subject: Re: [PATCH] rtc: s35390a: use u8 instead of char for register buffer
On Sun, 21 Sep 2025 01:42:23 +0800, Nick Huang wrote:
> The register buffer in s35390a_get_reg() was previously defined as
> `char *buf`. This is not ideal since register data represents raw
> binary values rather than textual data.
>
> Switch the type to `u8 *buf` to better reflect its intended usage and
> to avoid potential issues with sign extension when handling register
> values on platforms where `char` is signed by default.
>
> [...]
Applied, thanks!
[1/1] rtc: s35390a: use u8 instead of char for register buffer
https://git.kernel.org/abelloni/c/73c4638a2864
Best regards,
--
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
Powered by blists - more mailing lists