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
ee4edfcd
Commit
ee4edfcd
authored
Jul 13, 2004
by
Alexander Viro
Committed by
Linus Torvalds
Jul 13, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] sparse: #if where #ifdef should've been (saa7146)
parent
aba752e2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
drivers/media/common/saa7146_fops.c
drivers/media/common/saa7146_fops.c
+3
-3
No files found.
drivers/media/common/saa7146_fops.c
View file @
ee4edfcd
...
...
@@ -83,7 +83,7 @@ int saa7146_buffer_queue(struct saa7146_dev *dev,
struct
saa7146_dmaqueue
*
q
,
struct
saa7146_buf
*
buf
)
{
#if DEBUG_SPINLOCKS
#if
def
DEBUG_SPINLOCKS
BUG_ON
(
!
spin_is_locked
(
&
dev
->
slock
));
#endif
DEB_EE
((
"dev:%p, dmaq:%p, buf:%p
\n
"
,
dev
,
q
,
buf
));
...
...
@@ -109,7 +109,7 @@ void saa7146_buffer_finish(struct saa7146_dev *dev,
struct
saa7146_dmaqueue
*
q
,
int
state
)
{
#if DEBUG_SPINLOCKS
#if
def
DEBUG_SPINLOCKS
BUG_ON
(
!
spin_is_locked
(
&
dev
->
slock
));
#endif
if
(
NULL
==
q
->
curr
)
{
...
...
@@ -145,7 +145,7 @@ void saa7146_buffer_next(struct saa7146_dev *dev,
DEB_INT
((
"dev:%p, dmaq:%p, vbi:%d
\n
"
,
dev
,
q
,
vbi
));
#if DEBUG_SPINLOCKS
#if
def
DEBUG_SPINLOCKS
BUG_ON
(
!
spin_is_locked
(
&
dev
->
slock
));
#endif
if
(
!
list_empty
(
&
q
->
queue
))
{
...
...
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