diff options
Diffstat (limited to 'drivers/edac')
-rw-r--r-- | drivers/edac/edac_module.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/edac/edac_module.c b/drivers/edac/edac_module.c index a66941fea5a4..e6d1691dfa45 100644 --- a/drivers/edac/edac_module.c +++ b/drivers/edac/edac_module.c | |||
@@ -28,7 +28,7 @@ static int edac_set_debug_level(const char *buf, struct kernel_param *kp) | |||
28 | if (ret) | 28 | if (ret) |
29 | return ret; | 29 | return ret; |
30 | 30 | ||
31 | if (val < 0 || val > 4) | 31 | if (val > 4) |
32 | return -EINVAL; | 32 | return -EINVAL; |
33 | 33 | ||
34 | return param_set_int(buf, kp); | 34 | return param_set_int(buf, kp); |