aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2011-10-11 11:20:31 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2011-10-11 11:51:21 -0400
commitd181daa06dd72fa88652b1d8bf723570a9fc55ea (patch)
tree23d8f818e0a8879836c2a5b3822eda4541a94c82 /include/linux
parenta832a1eba94096513bc42c96f33957cc46c5f2bf (diff)
Staging: hv: storvsc: remove last usage of DPRINT_WARN
Used the correct dev_warn() call instead. Cc: K. Y. Srinivasan <kys@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/hyperv.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/hyperv.h b/include/linux/hyperv.h
index 2229073874b0..097d6dbe685a 100644
--- a/include/linux/hyperv.h
+++ b/include/linux/hyperv.h
@@ -721,7 +721,6 @@ extern void vmbus_ontimer(unsigned long data);
721 BLKVSC_DRV) 721 BLKVSC_DRV)
722 722
723/* Logging Level */ 723/* Logging Level */
724#define WARNING_LVL 4
725#define INFO_LVL 6 724#define INFO_LVL 6
726#define DEBUG_RING_LVL 9 725#define DEBUG_RING_LVL 9
727 726
@@ -733,11 +732,6 @@ extern unsigned int vmbus_loglevel;
733 printk(KERN_DEBUG #mod": %s() " fmt "\n", __func__, ## args);\ 732 printk(KERN_DEBUG #mod": %s() " fmt "\n", __func__, ## args);\
734 } while (0) 733 } while (0)
735 734
736#define DPRINT_WARN(mod, fmt, args...) do {\
737 if ((mod & (HIWORD(vmbus_loglevel))) && \
738 (WARNING_LVL <= LOWORD(vmbus_loglevel))) \
739 printk(KERN_WARNING #mod": WARNING! " fmt "\n", ## args);\
740 } while (0)
741 735
742struct hv_driver; 736struct hv_driver;
743struct hv_device; 737struct hv_device;