summaryrefslogtreecommitdiff
path: root/drivers/watchdog/sama5d4_wdt.c
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2016-07-08 16:42:48 +0100
committerDavid S. Miller <davem@davemloft.net>2016-07-11 12:41:36 -0700
commitf3ea3119ad75dde0ba3e8da4653dbd5a189688e5 (patch)
tree75eb383a9cf22924d17d5067f1074d1b84d8e2d0 /drivers/watchdog/sama5d4_wdt.c
parent7d32eb8781a0eccf8ab7bf33877014c7637ad271 (diff)
bnxt_en: initialize rc to zero to avoid returning garbage
rc is not initialized so it can contain garbage if it is not set by the call to bnxt_read_sfp_module_eeprom_info. Ensure garbage is not returned by initializing rc to 0. Signed-off-by: Colin Ian King <colin.king@canonical.com> Acked-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/watchdog/sama5d4_wdt.c')
0 files changed, 0 insertions, 0 deletions