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
nexedi
linux
Commits
9b89f2d3
Commit
9b89f2d3
authored
Mar 15, 2006
by
Mauro Carvalho Chehab
Committed by
Linus Torvalds
Mar 21, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
V4L/DVB (3521): Avoid warnings at video-buf.c
Signed-off-by:
Mauro Carvalho Chehab
<
mchehab@infradead.org
>
parent
f89982a9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
drivers/media/video/video-buf.c
drivers/media/video/video-buf.c
+7
-7
No files found.
drivers/media/video/video-buf.c
View file @
9b89f2d3
...
...
@@ -427,7 +427,7 @@ videobuf_queue_is_busy(struct videobuf_queue *q)
void
videobuf_queue_cancel
(
struct
videobuf_queue
*
q
)
{
unsigned
long
flags
;
unsigned
long
flags
=
0
;
int
i
;
/* remove queued buffers from list */
...
...
@@ -588,7 +588,7 @@ videobuf_qbuf(struct videobuf_queue *q,
{
struct
videobuf_buffer
*
buf
;
enum
v4l2_field
field
;
unsigned
long
flags
;
unsigned
long
flags
=
0
;
int
retval
;
mutex_lock
(
&
q
->
lock
);
...
...
@@ -700,7 +700,7 @@ int videobuf_streamon(struct videobuf_queue *q)
{
struct
videobuf_buffer
*
buf
;
struct
list_head
*
list
;
unsigned
long
flags
;
unsigned
long
flags
=
0
;
int
retval
;
mutex_lock
(
&
q
->
lock
);
...
...
@@ -745,7 +745,7 @@ videobuf_read_zerocopy(struct videobuf_queue *q, char __user *data,
size_t
count
,
loff_t
*
ppos
)
{
enum
v4l2_field
field
;
unsigned
long
flags
;
unsigned
long
flags
=
0
;
int
retval
;
/* setup stuff */
...
...
@@ -787,7 +787,7 @@ ssize_t videobuf_read_one(struct videobuf_queue *q,
int
nonblocking
)
{
enum
v4l2_field
field
;
unsigned
long
flags
;
unsigned
long
flags
=
0
;
unsigned
size
,
nbufs
,
bytes
;
int
retval
;
...
...
@@ -866,7 +866,7 @@ ssize_t videobuf_read_one(struct videobuf_queue *q,
int
videobuf_read_start
(
struct
videobuf_queue
*
q
)
{
enum
v4l2_field
field
;
unsigned
long
flags
;
unsigned
long
flags
=
0
;
int
count
=
0
,
size
=
0
;
int
err
,
i
;
...
...
@@ -918,7 +918,7 @@ ssize_t videobuf_read_stream(struct videobuf_queue *q,
{
unsigned
int
*
fc
,
bytes
;
int
err
,
retval
;
unsigned
long
flags
;
unsigned
long
flags
=
0
;
dprintk
(
2
,
"%s
\n
"
,
__FUNCTION__
);
mutex_lock
(
&
q
->
lock
);
...
...
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