From: Takashi Iwai <tiwai-l3A5Bk7waGM@public•gmane.org>
To: Greg Kroah-Hartman <gregkh-l3A5Bk7waGM@public•gmane.org>
Cc: linux-usb-u79uwXL29TY76Z2rM5mHXA@public•gmane.org,
linux-next-u79uwXL29TY76Z2rM5mHXA@public•gmane.org
Subject: [PATCH next-20080819] drivers/usb/atm: Fix non-existing warn()
Date: Tue, 19 Aug 2008 13:28:48 +0200 [thread overview]
Message-ID: <s5hiqtxw8en.wl%tiwai@suse.de> (raw)
In-Reply-To: 20080819185454.d9c74915.sfr@canb.auug.org.au
Fix the die-hard warn() in drivers/usb/atm/usbatm.h that caused a
build error.
Signed-off-by: Takashi Iwai <tiwai-l3A5Bk7waGM@public•gmane.org>
---
diff --git a/drivers/usb/atm/usbatm.h b/drivers/usb/atm/usbatm.h
index e6887c6..714dc14 100644
--- a/drivers/usb/atm/usbatm.h
+++ b/drivers/usb/atm/usbatm.h
@@ -42,7 +42,7 @@
#ifdef DEBUG
#define UDSL_ASSERT(x) BUG_ON(!(x))
#else
-#define UDSL_ASSERT(x) do { if (!(x)) warn("failed assertion '%s' at line %d", __stringify(x), __LINE__); } while(0)
+#define UDSL_ASSERT(x) do { if (!(x)) pr_warning("failed assertion '%s' at line %d", __stringify(x), __LINE__); } while(0)
#endif
#define usb_err(instance, format, arg...) \
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public•gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2008-08-19 11:28 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-19 8:54 linux-next: Tree for August 19 Stephen Rothwell
2008-08-19 11:28 ` Takashi Iwai [this message]
2008-08-19 20:02 ` [PATCH next-20080819] drivers/usb/atm: Fix non-existing warn() Greg KH
[not found] ` <s5hiqtxw8en.wl%tiwai-l3A5Bk7waGM@public.gmane.org>
2008-08-20 0:47 ` Greg KH
[not found] ` <20080820004723.GB385-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
2008-08-20 8:30 ` Takashi Iwai
2008-08-20 0:05 ` linux-next: Tree for August 19 (mfd/ucb) Randy Dunlap
2008-08-20 0:16 ` Andrew Morton
2008-08-20 2:25 ` KAMEZAWA Hiroyuki
2008-08-20 5:10 ` Randy.Dunlap
2008-08-20 7:49 ` Takashi Iwai
2008-08-20 7:57 ` Russell King
2008-08-20 8:00 ` Takashi Iwai
2008-08-20 8:53 ` Stephen Rothwell
2008-08-20 0:26 ` Andrew Morton
2008-08-20 4:21 ` Sam Ravnborg
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=s5hiqtxw8en.wl%tiwai@suse.de \
--to=tiwai-l3a5bk7wagm@public$(echo .)gmane.org \
--cc=gregkh-l3A5Bk7waGM@public$(echo .)gmane.org \
--cc=linux-next-u79uwXL29TY76Z2rM5mHXA@public$(echo .)gmane.org \
--cc=linux-usb-u79uwXL29TY76Z2rM5mHXA@public$(echo .)gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox