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
d6849652
Commit
d6849652
authored
Apr 13, 2008
by
Mauro Carvalho Chehab
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
V4L/DVB (7560): videodev: Some printk fixes
Signed-off-by:
Mauro Carvalho Chehab
<
mchehab@infradead.org
>
parent
cb784724
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
drivers/media/video/videodev.c
drivers/media/video/videodev.c
+4
-2
No files found.
drivers/media/video/videodev.c
View file @
d6849652
...
...
@@ -25,7 +25,7 @@
#define dbgarg2(fmt, arg...) \
if (vfd->debug & V4L2_DEBUG_IOCTL_ARG) \
printk
(KERN_DEBUG "%s: " fmt, vfd->name, ## arg);
printk(KERN_DEBUG "%s: " fmt, vfd->name, ## arg);
#include <linux/module.h>
#include <linux/types.h>
...
...
@@ -781,6 +781,7 @@ static int __video_do_ioctl(struct inode *inode, struct file *file,
if
(
(
vfd
->
debug
&
V4L2_DEBUG_IOCTL
)
&&
!
(
vfd
->
debug
&
V4L2_DEBUG_IOCTL_ARG
))
{
v4l_print_ioctl
(
vfd
->
name
,
cmd
);
printk
(
"
\n
"
);
}
#ifdef CONFIG_VIDEO_V4L1_COMPAT
...
...
@@ -1864,8 +1865,9 @@ static int __video_do_ioctl(struct inode *inode, struct file *file,
if
(
vfd
->
debug
&
V4L2_DEBUG_IOCTL_ARG
)
{
if
(
ret
<
0
)
{
printk
(
"%s: err:
\n
"
,
vfd
->
name
);
printk
(
"%s: err: on
"
,
vfd
->
name
);
v4l_print_ioctl
(
vfd
->
name
,
cmd
);
printk
(
"
\n
"
);
}
}
...
...
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