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 <tr...@konsulko.com>
---
 drivers/video/sharp-lq101r1sx01.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/video/sharp-lq101r1sx01.c 
b/drivers/video/sharp-lq101r1sx01.c
index 4fdf0da8a94c..1c7cef777c30 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;
        }
-- 
2.43.0

Reply via email to