diff options
author | Borislav Petkov <bp@suse.de> | 2014-02-03 15:05:13 -0500 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2014-02-14 10:40:29 +0100 |
commit | 9da21b1509d8aa7ab4846722817d16c72d656c91 (patch) | |
tree | e21027dab66b50e1f21e3dd9b62846f7473bda8a /drivers/edac/edac_module.h | |
parent | 4675348e78fab420e70f9144b320d9c063c7cee8 (diff) | |
download | op-kernel-dev-9da21b1509d8aa7ab4846722817d16c72d656c91.zip op-kernel-dev-9da21b1509d8aa7ab4846722817d16c72d656c91.tar.gz |
EDAC: Poll timeout cannot be zero, p2
Sanitize code even more to accept unsigned longs only and to not allow
polling intervals below 1 second as this is unnecessary and doesn't make
much sense anyway for polling errors.
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: http://lkml.kernel.org/r/1391457913-881-1-git-send-email-prarit@redhat.com
Cc: Doug Thompson <dougthompson@xmission.com>
Cc: <stable@vger.kernel.org>
Diffstat (limited to 'drivers/edac/edac_module.h')
-rw-r--r-- | drivers/edac/edac_module.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/edac/edac_module.h b/drivers/edac/edac_module.h index 3d139c6..f2118bf 100644 --- a/drivers/edac/edac_module.h +++ b/drivers/edac/edac_module.h @@ -52,7 +52,7 @@ extern void edac_device_workq_setup(struct edac_device_ctl_info *edac_dev, extern void edac_device_workq_teardown(struct edac_device_ctl_info *edac_dev); extern void edac_device_reset_delay_period(struct edac_device_ctl_info *edac_dev, unsigned long value); -extern void edac_mc_reset_delay_period(int value); +extern void edac_mc_reset_delay_period(unsigned long value); extern void *edac_align_ptr(void **p, unsigned size, int n_elems); |