mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-11-21 00:58:28 +08:00
V4L/DVB (4036): Fix some compilation warnings
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
This commit is contained in:
parent
0463f12c5c
commit
d6144028af
@ -1682,13 +1682,13 @@ static unsigned int meye_poll(struct file *file, poll_table *wait)
|
||||
|
||||
static void meye_vm_open(struct vm_area_struct *vma)
|
||||
{
|
||||
int idx = (int)vma->vm_private_data;
|
||||
long idx = (long)vma->vm_private_data;
|
||||
meye.vma_use_count[idx]++;
|
||||
}
|
||||
|
||||
static void meye_vm_close(struct vm_area_struct *vma)
|
||||
{
|
||||
int idx = (int)vma->vm_private_data;
|
||||
long idx = (long)vma->vm_private_data;
|
||||
meye.vma_use_count[idx]--;
|
||||
}
|
||||
|
||||
|
@ -343,7 +343,7 @@ static int qcm_sensor_set_gains(struct uvd *uvd, u16 hue,
|
||||
u16 saturation, u16 value)
|
||||
{
|
||||
int ret;
|
||||
u16 r,g,b;
|
||||
u16 r=0,g=0,b=0;
|
||||
|
||||
/* this code is based on qc-usb-messenger */
|
||||
qcm_hsv2rgb(hue, saturation, value, &r, &g, &b);
|
||||
|
@ -536,7 +536,7 @@ zr36057_overlay (struct zoran *zr,
|
||||
* All error messages are internal driver checking only! */
|
||||
|
||||
/* video display top and bottom registers */
|
||||
reg = (u32) zr->buffer.base +
|
||||
reg = (long) zr->buffer.base +
|
||||
zr->overlay_settings.x *
|
||||
((zr->overlay_settings.format->depth + 7) / 8) +
|
||||
zr->overlay_settings.y *
|
||||
|
Loading…
Reference in New Issue
Block a user