Message ID | 20191223141934.19837-2-nks@flawful.org (mailing list archive) |
---|---|
State | Mainlined, archived |
Headers | show |
Series | qcom-cpr fixes for rjw bleeding-edge | expand |
On Mon 23 Dec 06:19 PST 2019, Niklas Cassel wrote: > drivers/power/avs/qcom-cpr.c:838:15: > warning: format ‘%ld’ expects argument of type ‘long int’, but argument 6 has type ‘ssize_t’ > Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org> > Reported-by: kbuild test robot <lkp@intel.com> > Signed-off-by: Niklas Cassel <nks@flawful.org> > --- > drivers/power/avs/qcom-cpr.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > 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; > } > -- > 2.24.1 >
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; }
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> --- drivers/power/avs/qcom-cpr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)