From 08000fa03d4d030c88e3e21646a28d34ff673125 Mon Sep 17 00:00:00 2001 From: Mateusz Holenko Date: Tue, 24 Sep 2024 13:58:43 +0200 Subject: [PATCH] drivers: led_strip: Fix formatting of log message MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The previous version generated compilation warnings. Signed-off-by: Mateusz HoĊ‚enko --- drivers/led_strip/lpd880x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/led_strip/lpd880x.c b/drivers/led_strip/lpd880x.c index 991e2e3fb57e9a..f4f7a4cddd045d 100644 --- a/drivers/led_strip/lpd880x.c +++ b/drivers/led_strip/lpd880x.c @@ -78,7 +78,7 @@ static int lpd880x_update(const struct device *dev, void *data, size_t size) rc = spi_write_dt(&config->bus, &tx); if (rc) { - LOG_ERR("can't update strip: %d", rc); + LOG_ERR("can't update strip: %zu", rc); } return rc;