staging: bcm2835-camera: Fix warnings about string ops on v4l2 uapi.
authorEric Anholt <eric@anholt.net>
Thu, 10 May 2018 19:42:18 +0000 (12:42 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 11 May 2018 10:02:06 +0000 (12:02 +0200)
commit40b73e16675ee2e77358ed1cfc3364c8bf000e4f
tree3113bd65e93273ab3f0469f1435c761fff5a3e05
parent6166045e7964067dba0da43a122de27ceb49be7b
staging: bcm2835-camera: Fix warnings about string ops on v4l2 uapi.

The v4l2 uapi uses u8[] for strings, so cast those to char * to avoid
compiler warnings about unsigned vs signed with sprintf() and friends.

Signed-off-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c