staging: spmi: hisi-spmi-controller: Use proper format in call to dev_err()
authorYueHaibing <yuehaibing@huawei.com>
Tue, 1 Sep 2020 03:57:22 +0000 (11:57 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 1 Sep 2020 17:50:36 +0000 (19:50 +0200)
commit4c6491a343e91a5a2a699b0b545f8ba1ec1e8c65
treee36430071b01e1d43cebc1e8203a4e4894ef8e1d
parent62d2e63c3ef6622dee42b2ef5f2a4690125af12c
staging: spmi: hisi-spmi-controller: Use proper format in call to dev_err()

The correct format string for a size_t argument should be %zu.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Reviewed-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Link: https://lore.kernel.org/r/20200901035722.9324-1-yuehaibing@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/hikey9xx/hisi-spmi-controller.c