summaryrefslogtreecommitdiff
path: root/drivers/watchdog/wdt_pci.c
diff options
context:
space:
mode:
authorBo Liu <liubo03@inspur.com>2022-09-20 05:03:12 +0300
committerWim Van Sebroeck <wim@linux-watchdog.org>2022-10-02 13:55:38 +0300
commit0e01297212244b5a769aa956854e45da1f0cd1f4 (patch)
treedc6680b9c9d53bc965fca001d0529508c4eecc46 /drivers/watchdog/wdt_pci.c
parentec122fd94eeb87b2e906360efe7447362f83e9ae (diff)
downloadlinux-0e01297212244b5a769aa956854e45da1f0cd1f4.tar.xz
watchdog: Check dev_set_name() return value
It's possible that dev_set_name() returns -ENOMEM, catch and handle this. Signed-off-by: Bo Liu <liubo03@inspur.com> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Link: https://lore.kernel.org/r/20220920020312.2383-1-liubo03@inspur.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/wdt_pci.c')
0 files changed, 0 insertions, 0 deletions