staging: kpc2000: Use '%zu' for printing 'size_t' type
authorFabio Estevam <festevam@gmail.com>
Wed, 5 Jun 2019 21:54:22 +0000 (18:54 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Jun 2019 13:03:35 +0000 (15:03 +0200)
commitfa6a80ca5a6052d07ca9582759116bcea0dd9ad6
tree908972b793861ba651f7108289393c6b8a83813a
parent89a237aa84c7047cafba99f5dc81983ed0c40704
staging: kpc2000: Use '%zu' for printing 'size_t' type

In order to print a 'size_t' type the '%zu' specifier needs to be used.

Change it accordingly in order to fix the following build warning:

drivers/staging/kpc2000/kpc_dma/fileops.c:57:35: warning: format '%ld' expects argument of type 'long int', but argument 8 has type 'size_t {aka unsigned int}' [-Wformat=]

Reported-by: Build bot for Mark Brown <broonie@kernel.org>
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/kpc2000/kpc_dma/fileops.c