All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alessandro Suardi <alessandro.suardi@oracle.com>
To: johannes@erdfelt.com
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] 2.5.33 cpia.c __FUNCTION__ compile fix
Date: Mon, 02 Sep 2002 22:09:06 +0200	[thread overview]
Message-ID: <3D73C562.3040101@oracle.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 275 bytes --]

(attached, since mozilla-mail mangles whitespace in copy-paste
  from gnome-terminal :/ )

Compiles for me (TM).


Ciao,

--alessandro

  "everything dies, baby that's a fact
    but maybe everything that dies someday comes back"
        (Bruce Springsteen, "Atlantic City")

[-- Attachment #2: cpia-2.5.33.diff --]
[-- Type: text/plain, Size: 1001 bytes --]

--- drivers/media/video/cpia_usb.c-2.5.33	Sat May 25 22:50:00 2002
+++ drivers/media/video/cpia_usb.c	Sun Sep  1 02:57:14 2002
@@ -167,7 +167,7 @@
 	/* resubmit */
 	urb->dev = ucpia->dev;
 	if ((i = usb_submit_urb(urb, GFP_ATOMIC)) != 0)
-		printk(KERN_ERR __FUNCTION__ ": usb_submit_urb ret %d\n", i);
+		printk(KERN_ERR "%s: usb_submit_urb ret %d\n", __FUNCTION__,  i);
 }
 
 static int cpia_usb_open(void *privdata)
--- drivers/media/video/cpia.h-2.5.33	Thu Oct 25 22:53:47 2001
+++ drivers/media/video/cpia.h	Sun Sep  1 02:55:55 2002
@@ -379,7 +379,7 @@
 #define ERROR_FLICKER_BELOW_MIN_EXP     0x01 /*flicker exposure got below minimum exposure */
 
 #define ALOG(lineno,fmt,args...) printk(fmt,lineno,##args)
-#define LOG(fmt,args...) ALOG((__LINE__),KERN_INFO __FILE__":"__FUNCTION__"(%d):"fmt,##args)
+#define LOG(fmt,args...) ALOG((__LINE__),KERN_INFO __FILE__":%s(%d):"fmt, __FUNCTION__, ##args)
 
 #ifdef _CPIA_DEBUG_
 #define ADBG(lineno,fmt,args...) printk(fmt, jiffies, lineno, ##args)

                 reply	other threads:[~2002-09-02 20:06 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3D73C562.3040101@oracle.com \
    --to=alessandro.suardi@oracle.com \
    --cc=johannes@erdfelt.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.