diff options
author | Michael Krufky <mkrufky@linuxtv.org> | 2008-06-19 16:35:21 -0400 |
---|---|---|
committer | Michael Krufky <mkrufky@linuxtv.org> | 2008-06-19 16:35:21 -0400 |
commit | bcf9ebb39574d120560c3d9149a618e0e5b282d9 (patch) | |
tree | e8ba7853639cfabfb5125679184dd849b0fb5b05 /linux/drivers/media/dvb/siano/smscoreapi.h | |
parent | ee252d56b4825939020961a58b4a2a52e6222608 (diff) | |
download | mediapointer-dvb-s2-bcf9ebb39574d120560c3d9149a618e0e5b282d9.tar.gz mediapointer-dvb-s2-bcf9ebb39574d120560c3d9149a618e0e5b282d9.tar.bz2 |
sms1xxx: move message formatting into 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.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/linux/drivers/media/dvb/siano/smscoreapi.h b/linux/drivers/media/dvb/siano/smscoreapi.h index d49ea224e..b9d216ebf 100644 --- a/linux/drivers/media/dvb/siano/smscoreapi.h +++ b/linux/drivers/media/dvb/siano/smscoreapi.h @@ -579,9 +579,12 @@ void smsdvb_unregister(void); int smsusb_register(void); void smsusb_unregister(void); -#define sms_err(fmt, arg...) printk(KERN_ERR fmt, ##arg) -#define sms_info(fmt, arg...) printk(KERN_INFO fmt, ##arg) -#define sms_debug(fmt, arg...) printk(KERN_DEBUG fmt, ##arg) +#define sms_err(fmt, arg...) \ + printk(KERN_ERR "%s " fmt "\n", __func__, ##arg) +#define sms_info(fmt, arg...) \ + printk(KERN_INFO "%s " fmt "\n", __func__, ##arg) +#define sms_debug(fmt, arg...) \ + printk(KERN_DEBUG "%s " fmt "\n", __func__, ##arg) #endif /* __smscoreapi_h__ */ |