Commit 2cef5b4
scsi: logging: Fix scsi_logging_level bounds
Bound scsi_logging_level sysctl writings between SYSCTL_ZERO and
SYSCTL_INT_MAX.
The proc_handler has thus been updated to proc_dointvec_minmax.
Signed-off-by: Nicolas Bouchinet <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Joel Granados <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>1 parent e6a8156 commit 2cef5b4
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
21 | 23 | | |
22 | 24 | | |
23 | 25 | | |
| |||
0 commit comments