summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2025-11-12 14:00:07 -0600
committerTom Rini <[email protected]>2025-12-30 10:21:48 -0600
commit5d3af86ae16f1207e1b38b00fccb5d01965cc778 (patch)
treefc648ac54254a3ce996b79aeb915a4d93186cafc /drivers
parent082e5118dab3a23c3d61ed429ad03195efe57653 (diff)
video: sharp-lq101r1sx01: Do not make use of 'z' for printing non-size_t
The debug macros in this driver make use of the z prefix when printing regular, non-size_t variables and this results in a warning. Drop 'z'. Signed-off-by: Tom Rini <[email protected]>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/video/sharp-lq101r1sx01.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/sharp-lq101r1sx01.c b/drivers/video/sharp-lq101r1sx01.c
index 4fdf0da8a94..1c7cef777c3 100644
--- a/drivers/video/sharp-lq101r1sx01.c
+++ b/drivers/video/sharp-lq101r1sx01.c
@@ -40,14 +40,14 @@ static int sharp_lq101r1sx01_write(struct mipi_dsi_device *dsi,
ret = mipi_dsi_generic_write(dsi, payload, sizeof(payload));
if (ret < 0) {
- log_debug("%s: failed to write %02x to %04x: %zd\n",
+ log_debug("%s: failed to write %02x to %04x: %d\n",
__func__, value, offset, ret);
return ret;
}
ret = mipi_dsi_dcs_nop(dsi);
if (ret < 0) {
- log_debug("%s: failed to send DCS nop: %zd\n",
+ log_debug("%s: failed to send DCS nop: %d\n",
__func__, ret);
return ret;
}