LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH] uml: replace remaining __FUNCTION__ occurance
@ 2008-03-03 19:31 Harvey Harrison
  2008-03-03 20:12 ` Jiri Slaby
  0 siblings, 1 reply; 2+ messages in thread
From: Harvey Harrison @ 2008-03-03 19:31 UTC (permalink / raw)
  To: Jeff Dike; +Cc: Andrew Morton, LKML

__FUNCTION__ is gcc-specific, use __func__

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
---
 arch/um/drivers/line.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/um/drivers/line.c b/arch/um/drivers/line.c
index 2c898c4..10b86e1 100644
--- a/arch/um/drivers/line.c
+++ b/arch/um/drivers/line.c
@@ -304,7 +304,7 @@ int line_ioctl(struct tty_struct *tty, struct file * file,
 				break;
 		if (i == ARRAY_SIZE(tty_ioctls)) {
 			printk(KERN_ERR "%s: %s: unknown ioctl: 0x%x\n",
-			       __FUNCTION__, tty->name, cmd);
+			       __func__, tty->name, cmd);
 		}
 		ret = -ENOIOCTLCMD;
 		break;
-- 
1.5.4.3.500.g83a2c




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] uml: replace remaining __FUNCTION__ occurance
  2008-03-03 19:31 [PATCH] uml: replace remaining __FUNCTION__ occurance Harvey Harrison
@ 2008-03-03 20:12 ` Jiri Slaby
  0 siblings, 0 replies; 2+ messages in thread
From: Jiri Slaby @ 2008-03-03 20:12 UTC (permalink / raw)
  To: Harvey Harrison; +Cc: LKML

On 03/03/2008 08:31 PM, Harvey Harrison wrote:
> __FUNCTION__ is gcc-specific, use __func__
[...]
 >--
 > 1.5.4.3.500.g83a2c

please, use git send-email --thread

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-03-03 20:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-03 19:31 [PATCH] uml: replace remaining __FUNCTION__ occurance Harvey Harrison
2008-03-03 20:12 ` Jiri Slaby

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).