Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
ea8df7e0
Commit
ea8df7e0
authored
Apr 13, 2008
by
Mauro Carvalho Chehab
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
V4L/DVB (7542): em28xx: Fix some warnings
Signed-off-by:
Mauro Carvalho Chehab
<
mchehab@infradead.org
>
parent
d7aa8020
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
drivers/media/video/em28xx/em28xx-video.c
drivers/media/video/em28xx/em28xx-video.c
+2
-2
No files found.
drivers/media/video/em28xx/em28xx-video.c
View file @
ea8df7e0
...
...
@@ -197,7 +197,7 @@ static void em28xx_copy_video(struct em28xx *dev,
lencopy
=
lencopy
>
remain
?
remain
:
lencopy
;
if
((
char
*
)
startwrite
+
lencopy
>
(
char
*
)
outp
+
buf
->
vb
.
size
)
{
em28xx_isocdbg
(
"Overflow of %i bytes past buffer end (1)
\n
"
,
em28xx_isocdbg
(
"Overflow of %
z
i bytes past buffer end (1)
\n
"
,
((
char
*
)
startwrite
+
lencopy
)
-
((
char
*
)
outp
+
buf
->
vb
.
size
));
lencopy
=
remain
=
(
char
*
)
outp
+
buf
->
vb
.
size
-
(
char
*
)
startwrite
;
}
...
...
@@ -217,7 +217,7 @@ static void em28xx_copy_video(struct em28xx *dev,
BUG_ON
(
lencopy
<=
0
);
if
((
char
*
)
startwrite
+
lencopy
>
(
char
*
)
outp
+
buf
->
vb
.
size
)
{
em28xx_isocdbg
(
"Overflow of %i bytes past buffer end (2)
\n
"
,
em28xx_isocdbg
(
"Overflow of %
z
i bytes past buffer end (2)
\n
"
,
((
char
*
)
startwrite
+
lencopy
)
-
((
char
*
)
outp
+
buf
->
vb
.
size
));
lencopy
=
remain
=
(
char
*
)
outp
+
buf
->
vb
.
size
-
(
char
*
)
startwrite
;
}
...
...
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