Skip to content

Commit

Permalink
[PATCH] oss: don't concatenate __FUNCTION__ with strings
Browse files Browse the repository at this point in the history
It's deprecated. Use "%s", __FUNCTION__ instead.

Signed-off-by: Clemens Buchacher <drizzd@aon.at>
Signed-off-by: Maximilian Attems <janitor@sternwelten.at>
Signed-off-by: Domen Puncer <domen@coderock.org>
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Clemens Buchacher authored and Linus Torvalds committed Sep 23, 2005
1 parent 288a60c commit f65d9be
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sound/oss/au1000.c
Original file line number Diff line number Diff line change
Expand Up @@ -1295,7 +1295,7 @@ static int au1000_mmap(struct file *file, struct vm_area_struct *vma)
unsigned long size;
int ret = 0;

dbg(__FUNCTION__);
dbg("%s", __FUNCTION__);

lock_kernel();
down(&s->sem);
Expand Down
2 changes: 1 addition & 1 deletion sound/oss/ite8172.c
Original file line number Diff line number Diff line change
Expand Up @@ -1859,7 +1859,7 @@ static int it8172_release(struct inode *inode, struct file *file)
struct it8172_state *s = (struct it8172_state *)file->private_data;

#ifdef IT8172_VERBOSE_DEBUG
dbg(__FUNCTION__);
dbg("%s", __FUNCTION__);
#endif
lock_kernel();
if (file->f_mode & FMODE_WRITE)
Expand Down

0 comments on commit f65d9be

Please sign in to comment.