diff options
author | Michael Krufky <mkrufky@linuxtv.org> | 2008-06-19 22:15:38 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-07-20 07:22:53 -0300 |
commit | 2522dc13245073f75399ada8e7f6acecde834953 (patch) | |
tree | 434825bcce1c3a9cb1b87539b99e789bb7997208 /drivers/media/dvb/siano/smscoreapi.h | |
parent | eb250942fe3cf2a129ab55d65161bc66b7009853 (diff) | |
download | op-kernel-dev-2522dc13245073f75399ada8e7f6acecde834953.zip op-kernel-dev-2522dc13245073f75399ada8e7f6acecde834953.tar.gz |
V4L/DVB (8297): sms1xxx: remove old printk macros
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/dvb/siano/smscoreapi.h')
-rw-r--r-- | drivers/media/dvb/siano/smscoreapi.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/media/dvb/siano/smscoreapi.h b/drivers/media/dvb/siano/smscoreapi.h index a21f01f..b84606b 100644 --- a/drivers/media/dvb/siano/smscoreapi.h +++ b/drivers/media/dvb/siano/smscoreapi.h @@ -429,7 +429,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...) \ |