summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/siano/smscoreapi.h
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2008-06-19 18:15:38 -0400
committerMichael Krufky <mkrufky@linuxtv.org>2008-06-19 18:15:38 -0400
commit71cf59d5d6b453fbbbe1be9a1e9794f4b2dd330d (patch)
tree19c70b9e10a6c9fc44a89eefbdc51a985acaa3ef /linux/drivers/media/dvb/siano/smscoreapi.h
parentb540ead0284ca67f95562426f86dec36103d3c30 (diff)
downloadmediapointer-dvb-s2-71cf59d5d6b453fbbbe1be9a1e9794f4b2dd330d.tar.gz
mediapointer-dvb-s2-71cf59d5d6b453fbbbe1be9a1e9794f4b2dd330d.tar.bz2
sms1xxx: remove old printk macros
From: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Diffstat (limited to 'linux/drivers/media/dvb/siano/smscoreapi.h')
-rw-r--r--linux/drivers/media/dvb/siano/smscoreapi.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/siano/smscoreapi.h b/linux/drivers/media/dvb/siano/smscoreapi.h
index 65f492834..972cbd1dc 100644
--- a/linux/drivers/media/dvb/siano/smscoreapi.h
+++ b/linux/drivers/media/dvb/siano/smscoreapi.h
@@ -594,7 +594,11 @@ extern int sms_debug;
sms_printk(kern, fmt, ##arg); } while (0)
#define sms_err(fmt, arg...) \
- sms_printk(KERN_ERR, "%s " fmt "\n", __func__, ##arg)
+ sms_printk(KERN_ERR, "%s() line: %d: " fmt "\n", \
+ __func__, __LINE__, ##arg)
+#define sms_warn(fmt, arg...) \
+ sms_printk(KERN_WARNING, "%s() line: %d: " fmt "\n", \
+ __func__, __LINE__, ##arg)
#define sms_info(fmt, arg...) \
dprintk(KERN_INFO, DBG_INFO, fmt, ##arg)
#define sms_debug(fmt, arg...) \