summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr/src/uts/common/io/qede/qede_cfg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/uts/common/io/qede/qede_cfg.c b/usr/src/uts/common/io/qede/qede_cfg.c
index 1a6f0e0bf5..d597136b61 100644
--- a/usr/src/uts/common/io/qede/qede_cfg.c
+++ b/usr/src/uts/common/io/qede/qede_cfg.c
@@ -192,12 +192,12 @@ void qede_cfg_init(qede_t *qede)
qede_cfg_get_val(qede, "debug_level", &option,
qede->ecore_debug_level,
B_FALSE);
- qede->ecore_debug_level = ((uint32_t)option < 0) ? 0 : option;
+ qede->ecore_debug_level = (uint32_t)((option < 0) ? 0 : option);
qede_cfg_get_val(qede, "debug_module", &option,
qede->ecore_debug_module,
B_FALSE);
- qede->ecore_debug_module = ((uint32_t)option < 0) ? 0 : option;
+ qede->ecore_debug_module = (uint32_t)((option < 0) ? 0 : option);
}