From: Jan Kiszka <[email protected]>

All other drivers return EFI_UNSUPPORTED in case the hardware is not
found. Do the same in wdat.

Signed-off-by: Jan Kiszka <[email protected]>
---
 drivers/watchdog/wdat.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/watchdog/wdat.c b/drivers/watchdog/wdat.c
index 11f2adc..e01bef4 100644
--- a/drivers/watchdog/wdat.c
+++ b/drivers/watchdog/wdat.c
@@ -160,7 +160,7 @@ parse_rsdt(EFI_ACPI_SDT_HEADER *rsdt, ACPI_TABLE_WDAT 
**wdat_table_ptr)
                        return EFI_SUCCESS;
                }
        }
-       return EFI_NOT_FOUND;
+       return EFI_UNSUPPORTED;
 }
 
 static EFI_STATUS
@@ -183,7 +183,7 @@ parse_xsdt(EFI_ACPI_SDT_HEADER *xsdt, ACPI_TABLE_WDAT 
**wdat_table_ptr)
                        return EFI_SUCCESS;
                }
        }
-       return EFI_NOT_FOUND;
+       return EFI_UNSUPPORTED;
 }
 
 static EFI_STATUS
@@ -226,7 +226,7 @@ locate_and_parse_rsdp(ACPI_TABLE_WDAT **wdat_table_ptr)
                }
                ect++;
        }
-       return EFI_NOT_FOUND;
+       return EFI_UNSUPPORTED;
 }
 
 static EFI_STATUS
-- 
2.34.1

-- 
You received this message because you are subscribed to the Google Groups "EFI 
Boot Guard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/efibootguard-dev/ca789510-485b-6aeb-90e6-a7dafd4d0655%40siemens.com.

Reply via email to