mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-02 09:46:37 +03:00
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 <trini@konsulko.com>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user