• Hans de Goede's avatar
    env_mmc: Properly prefix mmc errors with '!' · a85da21f
    Hans de Goede authored
    The set_default_env() function from env_common.c expects either
    a fully formatted error msg, e.g.: "## Resetting to default environment\n"
    or an error msg prefixed with an !, in which case it will format it.
    
    Fix the init_mmc_for_env() error messages to be prefixed with a !
    this changes the bootup-log on sunxi when no mmc card is found from:
    
    MMC:   SUNXI SD/MMC: 0
    No MMC card foundIn:    serial
    Out:   serial
    
    To:
    
    MMC:   SUNXI SD/MMC: 0
    *** Warning - No MMC card found, using default environment
    
    In:    serial
    Out:   serial
    
    Which clearly is how things should look.
    Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
    a85da21f
Name
Last commit
Last update
Licenses Loading commit data...
api Loading commit data...
arch Loading commit data...
board Loading commit data...
common Loading commit data...
configs Loading commit data...
disk Loading commit data...
doc Loading commit data...
drivers Loading commit data...
dts Loading commit data...
examples Loading commit data...
fs Loading commit data...
include Loading commit data...
lib Loading commit data...
net Loading commit data...
post Loading commit data...
scripts Loading commit data...
test Loading commit data...
tools Loading commit data...
.checkpatch.conf Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
.travis.yml Loading commit data...
Kbuild Loading commit data...
Kconfig Loading commit data...
MAINTAINERS Loading commit data...
MAKEALL Loading commit data...
Makefile Loading commit data...
README Loading commit data...
config.mk Loading commit data...
snapshot.commit Loading commit data...