summaryrefslogtreecommitdiff
path: root/drivers/watchdog/it8712f_wdt.c
diff options
context:
space:
mode:
authorAndrey Smirnov <andrew.smirnov@gmail.com>2019-08-12 23:08:57 +0300
committerWim Van Sebroeck <wim@linux-watchdog.org>2019-09-17 09:59:06 +0300
commitde88053807d848a504a65fbe7ea03c9aedc16b90 (patch)
tree9edb4ef951121b5cc3b131f96168e8155782e042 /drivers/watchdog/it8712f_wdt.c
parentd91bb8d9162586bc17afb7ffd28b03cce064e6f4 (diff)
downloadlinux-de88053807d848a504a65fbe7ea03c9aedc16b90.tar.xz
watchdog: ziirave_wdt: Don't read out more than 'len' firmware bytes
We only compare first 'len' bytes of read firmware, so we don't need to read more that that. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Cc: Chris Healy <cphealy@gmail.com> Cc: Guenter Roeck <linux@roeck-us.net> Cc: Rick Ramstetter <rick@anteaterllc.com> Cc: linux-watchdog@vger.kernel.org Cc: linux-kernel@vger.kernel.org Reviewed-by: Guenter Roeck <linux@roeck-us.net> Link: https://lore.kernel.org/r/20190812200906.31344-14-andrew.smirnov@gmail.com Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Diffstat (limited to 'drivers/watchdog/it8712f_wdt.c')
0 files changed, 0 insertions, 0 deletions