Commit f9e7a020 authored by Peter Hagervall's avatar Peter Hagervall Committed by Linus Torvalds

[PATCH] v4l: 651: fix a number of sparse warnings

- Fix a number of sparse warnings.
Signed-off-by: default avatarPeter Hagervall <hager@cs.umu.se>
Signed-off-by: default avatarMichael Krufky <mkrufky@m1k.net>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@brturbo.com.br>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent c5df599b
...@@ -431,7 +431,7 @@ int cx88_sram_channel_setup(struct cx88_core *core, ...@@ -431,7 +431,7 @@ int cx88_sram_channel_setup(struct cx88_core *core,
/* ------------------------------------------------------------------ */ /* ------------------------------------------------------------------ */
/* debug helper code */ /* debug helper code */
int cx88_risc_decode(u32 risc) static int cx88_risc_decode(u32 risc)
{ {
static char *instr[16] = { static char *instr[16] = {
[ RISC_SYNC >> 28 ] = "sync", [ RISC_SYNC >> 28 ] = "sync",
......
...@@ -787,7 +787,7 @@ static int video_open(struct inode *inode, struct file *file) ...@@ -787,7 +787,7 @@ static int video_open(struct inode *inode, struct file *file)
} }
static ssize_t static ssize_t
video_read(struct file *file, char *data, size_t count, loff_t *ppos) video_read(struct file *file, char __user *data, size_t count, loff_t *ppos)
{ {
struct cx8800_fh *fh = file->private_data; struct cx8800_fh *fh = file->private_data;
......
...@@ -204,8 +204,8 @@ struct cx88_board { ...@@ -204,8 +204,8 @@ struct cx88_board {
int tda9887_conf; int tda9887_conf;
struct cx88_input input[MAX_CX88_INPUT]; struct cx88_input input[MAX_CX88_INPUT];
struct cx88_input radio; struct cx88_input radio;
int blackbird:1; unsigned int blackbird:1;
int dvb:1; unsigned int dvb:1;
}; };
struct cx88_subid { struct cx88_subid {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment