Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
d6144028
Commit
d6144028
authored
May 19, 2006
by
Mauro Carvalho Chehab
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
V4L/DVB (4036): Fix some compilation warnings
Signed-off-by:
Mauro Carvalho Chehab
<
mchehab@infradead.org
>
parent
0463f12c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
drivers/media/video/meye.c
drivers/media/video/meye.c
+2
-2
drivers/media/video/usbvideo/quickcam_messenger.c
drivers/media/video/usbvideo/quickcam_messenger.c
+1
-1
drivers/media/video/zoran_device.c
drivers/media/video/zoran_device.c
+1
-1
No files found.
drivers/media/video/meye.c
View file @
d6144028
...
@@ -1682,13 +1682,13 @@ static unsigned int meye_poll(struct file *file, poll_table *wait)
...
@@ -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
)
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
]
++
;
meye
.
vma_use_count
[
idx
]
++
;
}
}
static
void
meye_vm_close
(
struct
vm_area_struct
*
vma
)
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
]
--
;
meye
.
vma_use_count
[
idx
]
--
;
}
}
...
...
drivers/media/video/usbvideo/quickcam_messenger.c
View file @
d6144028
...
@@ -343,7 +343,7 @@ static int qcm_sensor_set_gains(struct uvd *uvd, u16 hue,
...
@@ -343,7 +343,7 @@ static int qcm_sensor_set_gains(struct uvd *uvd, u16 hue,
u16
saturation
,
u16
value
)
u16
saturation
,
u16
value
)
{
{
int
ret
;
int
ret
;
u16
r
,
g
,
b
;
u16
r
=
0
,
g
=
0
,
b
=
0
;
/* this code is based on qc-usb-messenger */
/* this code is based on qc-usb-messenger */
qcm_hsv2rgb
(
hue
,
saturation
,
value
,
&
r
,
&
g
,
&
b
);
qcm_hsv2rgb
(
hue
,
saturation
,
value
,
&
r
,
&
g
,
&
b
);
...
...
drivers/media/video/zoran_device.c
View file @
d6144028
...
@@ -536,7 +536,7 @@ zr36057_overlay (struct zoran *zr,
...
@@ -536,7 +536,7 @@ zr36057_overlay (struct zoran *zr,
* All error messages are internal driver checking only! */
* All error messages are internal driver checking only! */
/* video display top and bottom registers */
/* video display top and bottom registers */
reg
=
(
u32
)
zr
->
buffer
.
base
+
reg
=
(
long
)
zr
->
buffer
.
base
+
zr
->
overlay_settings
.
x
*
zr
->
overlay_settings
.
x
*
((
zr
->
overlay_settings
.
format
->
depth
+
7
)
/
8
)
+
((
zr
->
overlay_settings
.
format
->
depth
+
7
)
/
8
)
+
zr
->
overlay_settings
.
y
*
zr
->
overlay_settings
.
y
*
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment