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
f1e0bf4e
Commit
f1e0bf4e
authored
Apr 30, 2002
by
Linus Torvalds
Committed by
Linus Torvalds
Apr 30, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix broken sound print macros
parent
8c93aa4e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
include/sound/core.h
include/sound/core.h
+10
-10
No files found.
include/sound/core.h
View file @
f1e0bf4e
...
@@ -314,11 +314,11 @@ void snd_printd(const char *format, ...);
...
@@ -314,11 +314,11 @@ void snd_printd(const char *format, ...);
/* --- */
/* --- */
#ifdef CONFIG_SND_VERBOSE_PRINTK
#ifdef CONFIG_SND_VERBOSE_PRINTK
#define snd_printk(args...) \
#define snd_printk(
fmt,
args...) \
snd_verbose_printk(__FILE__, __LINE__, ##args)
snd_verbose_printk(__FILE__, __LINE__,
fmt ,
##args)
#else
#else
#define snd_printk(args...) \
#define snd_printk(
fmt,
args...) \
printk(##args)
printk(
fmt ,
##args)
#endif
#endif
#ifdef CONFIG_SND_DEBUG
#ifdef CONFIG_SND_DEBUG
...
@@ -326,8 +326,8 @@ void snd_printd(const char *format, ...);
...
@@ -326,8 +326,8 @@ void snd_printd(const char *format, ...);
#define __ASTRING__(x) #x
#define __ASTRING__(x) #x
#ifdef CONFIG_SND_VERBOSE_PRINTK
#ifdef CONFIG_SND_VERBOSE_PRINTK
#define snd_printd(args...) \
#define snd_printd(
fmt,
args...) \
snd_verbose_printd(__FILE__, __LINE__, ##args)
snd_verbose_printd(__FILE__, __LINE__,
fmt ,
##args)
#endif
#endif
#define snd_assert(expr, args...) do {\
#define snd_assert(expr, args...) do {\
if (!(expr)) {\
if (!(expr)) {\
...
@@ -344,16 +344,16 @@ void snd_printd(const char *format, ...);
...
@@ -344,16 +344,16 @@ void snd_printd(const char *format, ...);
#else
/* !CONFIG_SND_DEBUG */
#else
/* !CONFIG_SND_DEBUG */
#define snd_printd(args...)
/* nothing */
#define snd_printd(
fmt,
args...)
/* nothing */
#define snd_assert(args...)
/* nothing */
#define snd_assert(
expr,
args...)
/* nothing */
#define snd_runtime_check(expr, args...) do { if (!(expr)) { args; } } while (0)
#define snd_runtime_check(expr, args...) do { if (!(expr)) { args; } } while (0)
#endif
/* CONFIG_SND_DEBUG */
#endif
/* CONFIG_SND_DEBUG */
#ifdef CONFIG_SND_DEBUG_DETECT
#ifdef CONFIG_SND_DEBUG_DETECT
#define snd_printdd(args...) snd_printk(format, ##args)
#define snd_printdd(
format,
args...) snd_printk(format, ##args)
#else
#else
#define snd_printdd(args...)
/* nothing */
#define snd_printdd(
format,
args...)
/* nothing */
#endif
#endif
#define snd_BUG() snd_assert(0, )
#define snd_BUG() snd_assert(0, )
...
...
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