staging: rtl8712: Use proper format in call to dev_err()
authorMauro Dreissig <mukadr@gmail.com>
Sun, 5 Jul 2020 14:35:52 +0000 (11:35 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Jul 2020 11:54:45 +0000 (13:54 +0200)
commita3232e64b4be06460d02ded09c5bd347b0a3a2b8
tree677ccdfe78097f31c90eade2099a0911662b5e00
parentf1a4423ffa86643bad4ae1a8f9da3500d9f3cbd2
staging: rtl8712: Use proper format in call to dev_err()

In the call to dev_err(), remove the cast of size_t to int
and change the format string accordingly.

As reported by the kernel test robot, the correct
format string for a size_t argument should be %zu.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Mauro Dreissig <mukadr@gmail.com>
Link: https://lore.kernel.org/r/20200705143552.9368-6-mukadr@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8712/hal_init.c