From: Niklas Cassel Date: Mon, 23 Dec 2019 14:19:30 +0000 (+0100) Subject: power: avs: qcom-cpr: fix invalid printk specifier in debug print X-Git-Tag: v5.15~4678^2~1^5~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e808926b4dd1e1f1d3c842c1f6f2aae7c72543ae;p=platform%2Fkernel%2Flinux-starfive.git power: avs: qcom-cpr: fix invalid printk specifier in debug print drivers/power/avs/qcom-cpr.c:838:15: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 6 has type ‘ssize_t’ Reported-by: kbuild test robot Signed-off-by: Niklas Cassel Reviewed-by: Bjorn Andersson Signed-off-by: Rafael J. Wysocki --- diff --git a/drivers/power/avs/qcom-cpr.c b/drivers/power/avs/qcom-cpr.c index a318797..a52d2ce 100644 --- a/drivers/power/avs/qcom-cpr.c +++ b/drivers/power/avs/qcom-cpr.c @@ -835,7 +835,7 @@ static int cpr_read_efuse(struct device *dev, const char *cname, u32 *data) *data |= ret[i] << (8 * i); kfree(ret); - dev_dbg(dev, "efuse read(%s) = %x, bytes %ld\n", cname, *data, len); + dev_dbg(dev, "efuse read(%s) = %x, bytes %zd\n", cname, *data, len); return 0; }