Searched hist:a81114d03e4a529c4b68293249f75438b3c1783f (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/firmware/ |
H A D | dmi-sysfs.c | diff a81114d03e4a529c4b68293249f75438b3c1783f Sat Feb 03 04:25:20 CST 2018 Ard Biesheuvel <ard.biesheuvel@linaro.org> firmware: dmi: handle missing DMI data gracefully
Currently, when booting a kernel with DMI support on a platform that has no DMI tables, the following output is emitted into the kernel log:
[ 0.128818] DMI not present or invalid. ... [ 1.306659] dmi: Firmware registration failed. ... [ 2.908681] dmi-sysfs: dmi entry is absent.
The first one is a pr_info(), but the subsequent ones are pr_err()s that complain about a condition that is not really an error to begin with.
So let's clean this up, and give up silently if dma_available is not set.
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Acked-by: Martin Hundebøll <mnhu@prevas.dk> Signed-off-by: Jean Delvare <jdelvare@suse.de>
|
H A D | dmi_scan.c | diff a81114d03e4a529c4b68293249f75438b3c1783f Sat Feb 03 04:25:20 CST 2018 Ard Biesheuvel <ard.biesheuvel@linaro.org> firmware: dmi: handle missing DMI data gracefully
Currently, when booting a kernel with DMI support on a platform that has no DMI tables, the following output is emitted into the kernel log:
[ 0.128818] DMI not present or invalid. ... [ 1.306659] dmi: Firmware registration failed. ... [ 2.908681] dmi-sysfs: dmi entry is absent.
The first one is a pr_info(), but the subsequent ones are pr_err()s that complain about a condition that is not really an error to begin with.
So let's clean this up, and give up silently if dma_available is not set.
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Acked-by: Martin Hundebøll <mnhu@prevas.dk> Signed-off-by: Jean Delvare <jdelvare@suse.de>
|