Commit d85a1609 authored by Thierry Reding's avatar Thierry Reding

drm/panel: s6e8aa0: Fix build warnings on 64-bit

The %* format specifier expects an integer, which works fine with size_t
arguments on 32-bit because the types match. However on 64-bit, size_t
is typedef'd to unsigned long and will cause a build warning.
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
parent eccda2d1
...@@ -143,8 +143,8 @@ static void s6e8aa0_dcs_write(struct s6e8aa0 *ctx, const void *data, size_t len) ...@@ -143,8 +143,8 @@ static void s6e8aa0_dcs_write(struct s6e8aa0 *ctx, const void *data, size_t len)
ret = mipi_dsi_dcs_write(dsi, data, len); ret = mipi_dsi_dcs_write(dsi, data, len);
if (ret < 0) { if (ret < 0) {
dev_err(ctx->dev, "error %zd writing dcs seq: %*ph\n", ret, len, dev_err(ctx->dev, "error %zd writing dcs seq: %*ph\n", ret,
data); (int)len, data);
ctx->error = ret; ctx->error = ret;
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment