Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 9d7b3e17 authored by Ard Biesheuvel's avatar Ard Biesheuvel Committed by Manohar Vavilapalli
Browse files

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: default avatarArd Biesheuvel <ard.biesheuvel@linaro.org>
Acked-by: default avatarMartin Hundebøll <mnhu@prevas.dk>
Signed-off-by: default avatarJean Delvare <jdelvare@suse.de>
Change-Id: I99d59350b07210e4a7eb4fcf839574ce50cda08f
Git-commit: a81114d03e4a529c4b68293249f75438b3c1783f
Git-repo: https://android.googlesource.com/kernel/common/


Signed-off-by: default avatarManohar Vavilapalli <mvavilap@codeaurora.org>
parent 3db6f4c3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment