diff options
author | Niklas Cassel <nks@flawful.org> | 2019-12-23 17:19:30 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2019-12-30 00:11:22 +0300 |
commit | e808926b4dd1e1f1d3c842c1f6f2aae7c72543ae (patch) | |
tree | 04b376eae7efc93c29e9ffc8907b9b44098c33f9 | |
parent | bf6910abf54871b0e976e52f56fb3b3dd1b90e48 (diff) | |
download | linux-e808926b4dd1e1f1d3c842c1f6f2aae7c72543ae.tar.xz |
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 <lkp@intel.com>
Signed-off-by: Niklas Cassel <nks@flawful.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
-rw-r--r-- | drivers/power/avs/qcom-cpr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/avs/qcom-cpr.c b/drivers/power/avs/qcom-cpr.c index a3187973bbb5..a52d2cef1300 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; } |