summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc/kdoc_files.py
diff options
context:
space:
mode:
authorNick Huang <sef1548@gmail.com>2025-09-21 01:42:23 +0800
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2025-12-08 22:23:24 +0100
commit73c4638a2864e69ff2251080ce874d360fd13056 (patch)
tree9880358734ab4649ee7fa44585810ce601de15f0 /tools/lib/python/kdoc/kdoc_files.py
parent9d6d6b06933c86849e8e12f1cb9c1afb9c048536 (diff)
rtc: s35390a: use u8 instead of char for register buffer
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. This change improves type safety and makes the code consistent with other RTC drivers that operate on raw register data. Signed-off-by: Nick Huang <sef1548@gmail.com> Link: https://patch.msgid.link/20250920174224.108795-1-sef1548@gmail.com Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'tools/lib/python/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions