]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita2b4e078ca2951c98d26bec9496cb6fb2e13fcfd
tree3113bd65e93273ab3f0469f1435c761fff5a3e05
parent010e7bc219686f244fb7f86af3bb3b419ad8ebe9
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