diff options
Diffstat (limited to 'drivers/s390/cio/eadm_sch.c')
-rw-r--r-- | drivers/s390/cio/eadm_sch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/cio/eadm_sch.c b/drivers/s390/cio/eadm_sch.c index d9eddcba7e88..6b54d8a05cd4 100644 --- a/drivers/s390/cio/eadm_sch.c +++ b/drivers/s390/cio/eadm_sch.c | |||
@@ -42,7 +42,7 @@ static debug_info_t *eadm_debug; | |||
42 | 42 | ||
43 | static void EADM_LOG_HEX(int level, void *data, int length) | 43 | static void EADM_LOG_HEX(int level, void *data, int length) |
44 | { | 44 | { |
45 | if (level > eadm_debug->level) | 45 | if (!debug_level_enabled(eadm_debug, level)) |
46 | return; | 46 | return; |
47 | while (length > 0) { | 47 | while (length > 0) { |
48 | debug_event(eadm_debug, level, data, length); | 48 | debug_event(eadm_debug, level, data, length); |