mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-26 00:51:02 +07:00
[media] ioctl numbers are unsigned int
ioctl's number is unsigned int. Fix it at vidioc_default. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
2f9e96c39f
commit
6d43be7789
@ -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,
|
||||
int cmd, void *arg)
|
||||
unsigned int cmd, void *arg)
|
||||
{
|
||||
struct cx18 *cx = fh2id(fh)->cx;
|
||||
|
||||
|
@ -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,
|
||||
int cmd, void *arg)
|
||||
unsigned int cmd, void *arg)
|
||||
{
|
||||
struct ivtv *itv = fh2id(fh)->itv;
|
||||
|
||||
|
@ -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,
|
||||
int cmd, void *arg)
|
||||
unsigned int cmd, void *arg)
|
||||
{
|
||||
switch (cmd) {
|
||||
case MEYEIOC_G_PARAMS:
|
||||
|
@ -1686,7 +1686,7 @@ static int vpfe_s_crop(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);
|
||||
int ret = 0;
|
||||
|
@ -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,
|
||||
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,
|
||||
ioctl, cmd, arg);
|
||||
|
@ -1021,7 +1021,7 @@ static int solo_s_parm(struct file *file, void *priv,
|
||||
}
|
||||
|
||||
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_dev *solo_dev = solo_enc->solo_dev;
|
||||
|
@ -275,7 +275,7 @@ struct v4l2_ioctl_ops {
|
||||
|
||||
/* For other private ioctls */
|
||||
long (*vidioc_default) (struct file *file, void *fh,
|
||||
bool valid_prio, int cmd, void *arg);
|
||||
bool valid_prio, unsigned int cmd, void *arg);
|
||||
};
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user