On Mon, 10 Jun 2024 at 10:13, Quentin Schulz <foss+ub...@0leil.net> wrote: > > From: Quentin Schulz <quentin.sch...@cherry.de> > > 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 <quentin.sch...@cherry.de> > --- > lib/smbios.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >
Reviewed-by: Simon Glass <s...@chromium.org>