summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/bpf.py
diff options
context:
space:
mode:
authorNick Huang <sef1548@gmail.com>2025-09-20 20:42:23 +0300
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2025-12-09 00:23:24 +0300
commit73c4638a2864e69ff2251080ce874d360fd13056 (patch)
tree9880358734ab4649ee7fa44585810ce601de15f0 /scripts/gdb/linux/bpf.py
parent9d6d6b06933c86849e8e12f1cb9c1afb9c048536 (diff)
downloadlinux-73c4638a2864e69ff2251080ce874d360fd13056.tar.xz
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 'scripts/gdb/linux/bpf.py')
0 files changed, 0 insertions, 0 deletions