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
dfe2c626
Commit
dfe2c626
authored
Apr 12, 2004
by
Andrew Morton
Committed by
Linus Torvalds
Apr 12, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] remove concatenation with __FUNCTION__ sound/*
From: Tony Breeds <tony@bakeyournoodle.com>
parent
93616c25
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
13 deletions
+13
-13
sound/oss/au1000.c
sound/oss/au1000.c
+6
-6
sound/oss/ite8172.c
sound/oss/ite8172.c
+2
-2
sound/oss/rme96xx.c
sound/oss/rme96xx.c
+3
-3
sound/oss/vwsnd.c
sound/oss/vwsnd.c
+2
-2
No files found.
sound/oss/au1000.c
View file @
dfe2c626
...
@@ -369,7 +369,7 @@ static void set_adc_rate(struct au1000_state *s, unsigned rate)
...
@@ -369,7 +369,7 @@ static void set_adc_rate(struct au1000_state *s, unsigned rate)
adc_rate
=
rdcodec
(
s
->
codec
,
AC97_PCM_LR_ADC_RATE
);
adc_rate
=
rdcodec
(
s
->
codec
,
AC97_PCM_LR_ADC_RATE
);
#ifdef AU1000_VERBOSE_DEBUG
#ifdef AU1000_VERBOSE_DEBUG
dbg
(
__FUNCTION__
": set to %d Hz"
,
adc_rate
);
dbg
(
"%s: set to %d Hz"
,
__FUNCTION__
,
adc_rate
);
#endif
#endif
// some codec's don't allow unequal DAC and ADC rates, in which case
// some codec's don't allow unequal DAC and ADC rates, in which case
...
@@ -420,7 +420,7 @@ static void set_dac_rate(struct au1000_state *s, unsigned rate)
...
@@ -420,7 +420,7 @@ static void set_dac_rate(struct au1000_state *s, unsigned rate)
dac_rate
=
rdcodec
(
s
->
codec
,
AC97_PCM_FRONT_DAC_RATE
);
dac_rate
=
rdcodec
(
s
->
codec
,
AC97_PCM_FRONT_DAC_RATE
);
#ifdef AU1000_VERBOSE_DEBUG
#ifdef AU1000_VERBOSE_DEBUG
dbg
(
__FUNCTION__
": set to %d Hz"
,
dac_rate
);
dbg
(
"%s: set to %d Hz"
,
__FUNCTION__
,
dac_rate
);
#endif
#endif
// some codec's don't allow unequal DAC and ADC rates, in which case
// some codec's don't allow unequal DAC and ADC rates, in which case
...
@@ -989,7 +989,7 @@ static int translate_from_user(struct dmabuf *db,
...
@@ -989,7 +989,7 @@ static int translate_from_user(struct dmabuf *db,
for
(
sample
=
0
;
sample
<
num_samples
;
sample
++
)
{
for
(
sample
=
0
;
sample
<
num_samples
;
sample
++
)
{
if
(
copy_from_user
(
usersample
,
userbuf
,
if
(
copy_from_user
(
usersample
,
userbuf
,
db
->
user_bytes_per_sample
))
{
db
->
user_bytes_per_sample
))
{
dbg
(
__FUNCTION__
": fault"
);
dbg
(
"%s: fault"
,
__FUNCTION__
);
return
-
EFAULT
;
return
-
EFAULT
;
}
}
...
@@ -1053,7 +1053,7 @@ static int translate_to_user(struct dmabuf *db,
...
@@ -1053,7 +1053,7 @@ static int translate_to_user(struct dmabuf *db,
if
(
copy_to_user
(
userbuf
,
usersample
,
if
(
copy_to_user
(
userbuf
,
usersample
,
db
->
user_bytes_per_sample
))
{
db
->
user_bytes_per_sample
))
{
dbg
(
__FUNCTION__
": fault"
);
dbg
(
"%s: fault"
,
__FUNCTION__
);
return
-
EFAULT
;
return
-
EFAULT
;
}
}
...
@@ -1848,9 +1848,9 @@ static int au1000_open(struct inode *inode, struct file *file)
...
@@ -1848,9 +1848,9 @@ static int au1000_open(struct inode *inode, struct file *file)
#ifdef AU1000_VERBOSE_DEBUG
#ifdef AU1000_VERBOSE_DEBUG
if
(
file
->
f_flags
&
O_NONBLOCK
)
if
(
file
->
f_flags
&
O_NONBLOCK
)
dbg
(
__FUNCTION__
": non-blocking"
);
dbg
(
"%s: non-blocking"
,
__FUNCTION__
);
else
else
dbg
(
__FUNCTION__
": blocking"
);
dbg
(
"%s: blocking"
,
__FUNCTION__
);
#endif
#endif
file
->
private_data
=
s
;
file
->
private_data
=
s
;
...
...
sound/oss/ite8172.c
View file @
dfe2c626
...
@@ -1779,9 +1779,9 @@ static int it8172_open(struct inode *inode, struct file *file)
...
@@ -1779,9 +1779,9 @@ static int it8172_open(struct inode *inode, struct file *file)
#ifdef IT8172_VERBOSE_DEBUG
#ifdef IT8172_VERBOSE_DEBUG
if
(
file
->
f_flags
&
O_NONBLOCK
)
if
(
file
->
f_flags
&
O_NONBLOCK
)
dbg
(
__FUNCTION__
": non-blocking"
);
dbg
(
"%s: non-blocking"
,
__FUNCTION__
);
else
else
dbg
(
__FUNCTION__
": blocking"
);
dbg
(
"%s: blocking"
,
__FUNCTION__
);
#endif
#endif
for
(
list
=
devs
.
next
;
;
list
=
list
->
next
)
{
for
(
list
=
devs
.
next
;
;
list
=
list
->
next
)
{
...
...
sound/oss/rme96xx.c
View file @
dfe2c626
...
@@ -872,7 +872,7 @@ int rme96xx_init(rme96xx_info* s)
...
@@ -872,7 +872,7 @@ int rme96xx_init(rme96xx_info* s)
int
status
;
int
status
;
unsigned
short
rev
;
unsigned
short
rev
;
DBG
(
printk
(
__FUNCTION__
"
\n
"
));
DBG
(
printk
(
"%s
\n
"
,
__FUNCTION__
));
numcards
++
;
numcards
++
;
s
->
magic
=
RME96xx_MAGIC
;
s
->
magic
=
RME96xx_MAGIC
;
...
@@ -972,7 +972,7 @@ static int __devinit rme96xx_probe(struct pci_dev *pcidev, const struct pci_devi
...
@@ -972,7 +972,7 @@ static int __devinit rme96xx_probe(struct pci_dev *pcidev, const struct pci_devi
int
i
;
int
i
;
rme96xx_info
*
s
;
rme96xx_info
*
s
;
DBG
(
printk
(
__FUNCTION__
"
\n
"
));
DBG
(
printk
(
"%s
\n
"
,
__FUNCTION__
));
if
(
pcidev
->
irq
==
0
)
if
(
pcidev
->
irq
==
0
)
return
-
1
;
return
-
1
;
...
@@ -1501,7 +1501,7 @@ static int rme96xx_release(struct inode *in, struct file *file)
...
@@ -1501,7 +1501,7 @@ static int rme96xx_release(struct inode *in, struct file *file)
{
{
struct
dmabuf
*
dma
=
(
struct
dmabuf
*
)
file
->
private_data
;
struct
dmabuf
*
dma
=
(
struct
dmabuf
*
)
file
->
private_data
;
/* int hwp; ... was unused HP20020201 */
/* int hwp; ... was unused HP20020201 */
DBG
(
printk
(
__FUNCTION__
"
\n
"
));
DBG
(
printk
(
"%s
\n
"
,
__FUNCTION__
));
COMM
(
"draining"
)
COMM
(
"draining"
)
if
(
dma
->
open_mode
&
FMODE_WRITE
)
{
if
(
dma
->
open_mode
&
FMODE_WRITE
)
{
...
...
sound/oss/vwsnd.c
View file @
dfe2c626
...
@@ -196,8 +196,8 @@ static void dbgassert(const char *fcn, int line, const char *expr)
...
@@ -196,8 +196,8 @@ static void dbgassert(const char *fcn, int line, const char *expr)
#define ASSERT(e) ((e) ? (void) 0 : dbgassert(__FUNCTION__, __LINE__, #e))
#define ASSERT(e) ((e) ? (void) 0 : dbgassert(__FUNCTION__, __LINE__, #e))
#define DBGDO(x) x
#define DBGDO(x) x
#define DBGX(fmt, args...) (in_interrupt() ? 0 : printk(KERN_ERR fmt, ##args))
#define DBGX(fmt, args...) (in_interrupt() ? 0 : printk(KERN_ERR fmt, ##args))
#define DBGP(fmt, args...) (DBGX(
__FUNCTION__ ": " fmt
, ##args))
#define DBGP(fmt, args...) (DBGX(
"%s: " fmt, __FUNCTION__
, ##args))
#define DBGE(fmt, args...) (DBGX(
__FUNCTION__ fmt
, ##args))
#define DBGE(fmt, args...) (DBGX(
"%s" fmt, __FUNCTION__
, ##args))
#define DBGC(rtn) (DBGP("calling %s\n", rtn))
#define DBGC(rtn) (DBGP("calling %s\n", rtn))
#define DBGR() (DBGP("returning\n"))
#define DBGR() (DBGP("returning\n"))
#define DBGXV(fmt, args...) (shut_up ? 0 : DBGX(fmt, ##args))
#define DBGXV(fmt, args...) (shut_up ? 0 : DBGX(fmt, ##args))
...
...
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