Commit 6d43be77 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

[media] ioctl numbers are unsigned int

ioctl's number is unsigned int. Fix it at vidioc_default.
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 2f9e96c3
...@@ -1110,7 +1110,7 @@ static int cx18_log_status(struct file *file, void *fh) ...@@ -1110,7 +1110,7 @@ static int cx18_log_status(struct file *file, void *fh)
} }
static long cx18_default(struct file *file, void *fh, bool valid_prio, static long cx18_default(struct file *file, void *fh, bool valid_prio,
int cmd, void *arg) unsigned int cmd, void *arg)
{ {
struct cx18 *cx = fh2id(fh)->cx; struct cx18 *cx = fh2id(fh)->cx;
......
...@@ -1807,7 +1807,7 @@ static int ivtv_decoder_ioctls(struct file *filp, unsigned int cmd, void *arg) ...@@ -1807,7 +1807,7 @@ static int ivtv_decoder_ioctls(struct file *filp, unsigned int cmd, void *arg)
} }
static long ivtv_default(struct file *file, void *fh, bool valid_prio, static long ivtv_default(struct file *file, void *fh, bool valid_prio,
int cmd, void *arg) unsigned int cmd, void *arg)
{ {
struct ivtv *itv = fh2id(fh)->itv; struct ivtv *itv = fh2id(fh)->itv;
......
...@@ -1410,7 +1410,7 @@ static int vidioc_streamoff(struct file *file, void *fh, enum v4l2_buf_type i) ...@@ -1410,7 +1410,7 @@ static int vidioc_streamoff(struct file *file, void *fh, enum v4l2_buf_type i)
} }
static long vidioc_default(struct file *file, void *fh, bool valid_prio, static long vidioc_default(struct file *file, void *fh, bool valid_prio,
int cmd, void *arg) unsigned int cmd, void *arg)
{ {
switch (cmd) { switch (cmd) {
case MEYEIOC_G_PARAMS: case MEYEIOC_G_PARAMS:
......
...@@ -1686,7 +1686,7 @@ static int vpfe_s_crop(struct file *file, void *priv, ...@@ -1686,7 +1686,7 @@ static int vpfe_s_crop(struct file *file, void *priv,
static long vpfe_param_handler(struct file *file, void *priv, static long vpfe_param_handler(struct file *file, void *priv,
bool valid_prio, int cmd, void *param) bool valid_prio, unsigned int cmd, void *param)
{ {
struct vpfe_device *vpfe_dev = video_drvdata(file); struct vpfe_device *vpfe_dev = video_drvdata(file);
int ret = 0; int ret = 0;
......
...@@ -222,7 +222,7 @@ static int radio_si4713_s_frequency(struct file *file, void *p, ...@@ -222,7 +222,7 @@ static int radio_si4713_s_frequency(struct file *file, void *p,
} }
static long radio_si4713_default(struct file *file, void *p, static long radio_si4713_default(struct file *file, void *p,
bool valid_prio, int cmd, void *arg) bool valid_prio, unsigned int cmd, void *arg)
{ {
return v4l2_device_call_until_err(get_v4l2_dev(file), 0, core, return v4l2_device_call_until_err(get_v4l2_dev(file), 0, core,
ioctl, cmd, arg); ioctl, cmd, arg);
......
...@@ -1021,7 +1021,7 @@ static int solo_s_parm(struct file *file, void *priv, ...@@ -1021,7 +1021,7 @@ static int solo_s_parm(struct file *file, void *priv,
} }
static long solo_enc_default(struct file *file, void *fh, static long solo_enc_default(struct file *file, void *fh,
bool valid_prio, int cmd, void *arg) bool valid_prio, unsigned int cmd, void *arg)
{ {
struct solo_enc_dev *solo_enc = video_drvdata(file); struct solo_enc_dev *solo_enc = video_drvdata(file);
struct solo_dev *solo_dev = solo_enc->solo_dev; struct solo_dev *solo_dev = solo_enc->solo_dev;
......
...@@ -275,7 +275,7 @@ struct v4l2_ioctl_ops { ...@@ -275,7 +275,7 @@ struct v4l2_ioctl_ops {
/* For other private ioctls */ /* For other private ioctls */
long (*vidioc_default) (struct file *file, void *fh, long (*vidioc_default) (struct file *file, void *fh,
bool valid_prio, int cmd, void *arg); bool valid_prio, unsigned int cmd, void *arg);
}; };
......
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