bus/fslmc: do not log messages if bus not present
authorStephen Hemminger <stephen@networkplumber.org>
Wed, 25 Apr 2018 23:16:37 +0000 (16:16 -0700)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 26 Apr 2018 15:47:09 +0000 (17:47 +0200)
commit733daffa9851bb2d24a0b8819bad956fe7dfd521
tree366a527756991cfb3f4c018dfe2b171ca821ad17
parent06bfd1cbb4b594871b10d278a828c55e19a22a84
bus/fslmc: do not log messages if bus not present

A typical distribution will compile with default config and all
buses enabled. Therefore every driver should be silent and not
log anything for this normal case.

This patch gets rid of these messages when running on basic x86
environment such as bare metal or VM.

fslmc: DPAA2: DPRC not available
fslmc: FSLMC Bus Not Available. Skipping

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
drivers/bus/fslmc/fslmc_bus.c
drivers/bus/fslmc/fslmc_vfio.c