From: Tony Breeds --- 25-akpm/sound/oss/au1000.c | 12 ++++++------ 25-akpm/sound/oss/ite8172.c | 4 ++-- 25-akpm/sound/oss/rme96xx.c | 6 +++--- 25-akpm/sound/oss/vwsnd.c | 4 ++-- 4 files changed, 13 insertions(+), 13 deletions(-) diff -puN sound/oss/au1000.c~remove_concat_FUNCTION_sound sound/oss/au1000.c --- 25/sound/oss/au1000.c~remove_concat_FUNCTION_sound Tue Apr 6 16:02:18 2004 +++ 25-akpm/sound/oss/au1000.c Tue Apr 6 16:02:18 2004 @@ -369,7 +369,7 @@ static void set_adc_rate(struct au1000_s adc_rate = rdcodec(s->codec, AC97_PCM_LR_ADC_RATE); #ifdef AU1000_VERBOSE_DEBUG - dbg(__FUNCTION__ ": set to %d Hz", adc_rate); + dbg("%s: set to %d Hz", __FUNCTION__, adc_rate); #endif // 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_s dac_rate = rdcodec(s->codec, AC97_PCM_FRONT_DAC_RATE); #ifdef AU1000_VERBOSE_DEBUG - dbg(__FUNCTION__ ": set to %d Hz", dac_rate); + dbg("%s: set to %d Hz", __FUNCTION__, dac_rate); #endif // some codec's don't allow unequal DAC and ADC rates, in which case @@ -989,7 +989,7 @@ static int translate_from_user(struct dm for (sample = 0; sample < num_samples; sample++) { if (copy_from_user(usersample, userbuf, db->user_bytes_per_sample)) { - dbg(__FUNCTION__ ": fault"); + dbg("%s: fault", __FUNCTION__); return -EFAULT; } @@ -1053,7 +1053,7 @@ static int translate_to_user(struct dmab if (copy_to_user(userbuf, usersample, db->user_bytes_per_sample)) { - dbg(__FUNCTION__ ": fault"); + dbg("%s: fault", __FUNCTION__); return -EFAULT; } @@ -1848,9 +1848,9 @@ static int au1000_open(struct inode *in #ifdef AU1000_VERBOSE_DEBUG if (file->f_flags & O_NONBLOCK) - dbg(__FUNCTION__ ": non-blocking"); + dbg("%s: non-blocking", __FUNCTION__); else - dbg(__FUNCTION__ ": blocking"); + dbg("%s: blocking", __FUNCTION__); #endif file->private_data = s; diff -puN sound/oss/ite8172.c~remove_concat_FUNCTION_sound sound/oss/ite8172.c --- 25/sound/oss/ite8172.c~remove_concat_FUNCTION_sound Tue Apr 6 16:02:18 2004 +++ 25-akpm/sound/oss/ite8172.c Tue Apr 6 16:02:18 2004 @@ -1779,9 +1779,9 @@ static int it8172_open(struct inode *ino #ifdef IT8172_VERBOSE_DEBUG if (file->f_flags & O_NONBLOCK) - dbg(__FUNCTION__ ": non-blocking"); + dbg("%s: non-blocking", __FUNCTION__); else - dbg(__FUNCTION__ ": blocking"); + dbg("%s: blocking", __FUNCTION__); #endif for (list = devs.next; ; list = list->next) { diff -puN sound/oss/rme96xx.c~remove_concat_FUNCTION_sound sound/oss/rme96xx.c --- 25/sound/oss/rme96xx.c~remove_concat_FUNCTION_sound Tue Apr 6 16:02:18 2004 +++ 25-akpm/sound/oss/rme96xx.c Tue Apr 6 16:02:18 2004 @@ -872,7 +872,7 @@ int rme96xx_init(rme96xx_info* s) int status; unsigned short rev; - DBG(printk(__FUNCTION__"\n")); + DBG(printk("%s\n", __FUNCTION__)); numcards++; s->magic = RME96xx_MAGIC; @@ -972,7 +972,7 @@ static int __devinit rme96xx_probe(struc int i; rme96xx_info *s; - DBG(printk(__FUNCTION__"\n")); + DBG(printk("%s\n", __FUNCTION__)); if (pcidev->irq == 0) return -1; @@ -1501,7 +1501,7 @@ static int rme96xx_release(struct inode { struct dmabuf * dma = (struct dmabuf*) file->private_data; /* int hwp; ... was unused HP20020201 */ - DBG(printk(__FUNCTION__"\n")); + DBG(printk("%s\n", __FUNCTION__)); COMM ("draining") if (dma->open_mode & FMODE_WRITE) { diff -puN sound/oss/vwsnd.c~remove_concat_FUNCTION_sound sound/oss/vwsnd.c --- 25/sound/oss/vwsnd.c~remove_concat_FUNCTION_sound Tue Apr 6 16:02:18 2004 +++ 25-akpm/sound/oss/vwsnd.c Tue Apr 6 16:02:18 2004 @@ -196,8 +196,8 @@ static void dbgassert(const char *fcn, i #define ASSERT(e) ((e) ? (void) 0 : dbgassert(__FUNCTION__, __LINE__, #e)) #define DBGDO(x) x #define DBGX(fmt, args...) (in_interrupt() ? 0 : printk(KERN_ERR fmt, ##args)) -#define DBGP(fmt, args...) (DBGX(__FUNCTION__ ": " fmt, ##args)) -#define DBGE(fmt, args...) (DBGX(__FUNCTION__ fmt, ##args)) +#define DBGP(fmt, args...) (DBGX("%s: " fmt, __FUNCTION__ , ##args)) +#define DBGE(fmt, args...) (DBGX("%s" fmt, __FUNCTION__ , ##args)) #define DBGC(rtn) (DBGP("calling %s\n", rtn)) #define DBGR() (DBGP("returning\n")) #define DBGXV(fmt, args...) (shut_up ? 0 : DBGX(fmt, ##args)) _