Commit b2036f5
committed
kp: Make kp_mode an unsigned int type variable
kp_mode's range is 0 - 3, means it only accepts positive values and
can never be negative. Kprofiles also have a check to fallback to
0 if kp_mode exceeds 3 but doesn't do it for the opposite.
Therefore, make kp_mode an unsigned int type variable to ignore
negative values.
Signed-off-by: Tashfin Shakeer Rhythm <tashfinshakeerrhythm@gmail.com>1 parent 8ce8b40 commit b2036f5
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
0 commit comments