staging/bcm2835-isp: Fix compiler warning
authorPhil Elwell <phil@raspberrypi.com>
Fri, 23 Apr 2021 15:16:49 +0000 (16:16 +0100)
committerDom Cobley <popcornmix@gmail.com>
Mon, 19 Feb 2024 11:33:10 +0000 (11:33 +0000)
commit1762f0f7745b614b69376e719d1fcd0c25bb9e5b
tree24e6c4c2aeed03f5a6f18b3341ce29240b24757e
parent95d23678b82f83603da704fffcd24d0f1faee865
staging/bcm2835-isp: Fix compiler warning

The result of dividing a u32 by a size_t is an unsigned int on arm32
and a long unsigned int on arm64. Use "%zu" (the size_t format) to
remove the build warning for 64-bit builds.

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
drivers/staging/vc04_services/bcm2835-isp/bcm2835-v4l2-isp.c