We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44cdc7b commit 5ec6051Copy full SHA for 5ec6051
drivers/acpi/arm64/gtdt.c
@@ -394,7 +394,7 @@ static int __init gtdt_sbsa_gwdt_init(void)
394
*/
395
ret = acpi_gtdt_init(table, &timer_count);
396
if (ret || !timer_count)
397
- return ret;
+ goto out_put_gtdt;
398
399
for_each_platform_timer(platform_timer) {
400
if (is_non_secure_watchdog(platform_timer)) {
@@ -408,6 +408,8 @@ static int __init gtdt_sbsa_gwdt_init(void)
408
if (gwdt_count)
409
pr_info("found %d SBSA generic Watchdog(s).\n", gwdt_count);
410
411
+out_put_gtdt:
412
+ acpi_put_table(table);
413
return ret;
414
}
415
0 commit comments