aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/igc/igc_main.c
diff options
context:
space:
mode:
authorChen Ni <[email protected]>2024-04-26 07:58:08 +0000
committerWim Van Sebroeck <[email protected]>2024-05-04 10:50:43 +0000
commit413bf4e857fd79617524d5dcd35f463e9aa2dd41 (patch)
treec2f289ba10e4ab46b874d4b26b165ebbbe0f228a /drivers/net/ethernet/intel/igc/igc_main.c
parentwatchdog: rti_wdt: Set min_hw_heartbeat_ms to accommodate a safety margin (diff)
downloadkernel-413bf4e857fd79617524d5dcd35f463e9aa2dd41.tar.gz
kernel-413bf4e857fd79617524d5dcd35f463e9aa2dd41.zip
watchdog: sa1100: Fix PTR_ERR_OR_ZERO() vs NULL check in sa1100dog_probe()
devm_ioremap() doesn't return error pointers, it returns NULL on error. Update the check accordingly. Fixes: e86bd43bcfc5 ("watchdog: sa1100: use platform device registration") Signed-off-by: Chen Ni <[email protected]> Reviewed-by: Guenter Roeck <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Guenter Roeck <[email protected]> Signed-off-by: Wim Van Sebroeck <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_main.c')
0 files changed, 0 insertions, 0 deletions