Source
171
171
break;
172
172
173
173
case WDIOC_SETTIMEOUT:
174
174
if (get_user(new_timeout, p))
175
175
return -EFAULT;
176
176
if ((new_timeout < 1) || (new_timeout > 255))
177
177
return -EINVAL;
178
178
timeout = new_timeout;
179
179
wafwdt_stop();
180
180
wafwdt_start();
181
-
/* Fall */
181
+
/* Fall through */
182
182
case WDIOC_GETTIMEOUT:
183
183
return put_user(timeout, p);
184
184
185
185
default:
186
186
return -ENOTTY;
187
187
}
188
188
return 0;
189
189
}
190
190
191
191
static int wafwdt_open(struct inode *inode, struct file *file)