On Mon, 10 Jun 2024 at 10:13, Quentin Schulz <[email protected]> wrote:
>
> From: Quentin Schulz <[email protected]>
>
> If SYSINFO support isn't enabled, it's a given that uclass_first_device
> for UCLASS_SYSINFO will not find anything, therefore let's skip the test
> entirely.
>
> This allows to get rid of the following debug message that may be
> confusing:
>
> Cannot find uclass for id 118: please add the UCLASS_DRIVER() declaration for 
> this UCLASS_... id
>
> Signed-off-by: Quentin Schulz <[email protected]>
> ---
>  lib/smbios.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>

Reviewed-by: Simon Glass <[email protected]>

Reply via email to