From aa7c367f443ecf7c536910e75cee3b3873938b06 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 d4b56509db1..c447f5435e8 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;