[U-Boot] [PATCH v0 1/4] Groundwork for generalization of env interface

Wolfgang Denk wd at denx.de
Sat Nov 5 17:34:20 CET 2011


Dear Gerlando Falauto,

In message <1319647072-17504-2-git-send-email-gerlando.falauto at keymile.com> you wrote:
> Signed-off-by: Gerlando Falauto <gerlando.falauto at keymile.com>
> ---
>  common/cmd_nvedit.c   |  152 +++++++++++++++++++++++++++++++------------------
>  common/env_common.c   |   15 ++++-
>  include/environment.h |    7 ++
>  include/search.h      |   13 ++++
>  lib/hashtable.c       |   50 ++++++++++++++++
>  5 files changed, 179 insertions(+), 58 deletions(-)

This patch introduces new build warnings:

cmd_nvedit.c: In function 'env_check_apply':
cmd_nvedit.c:242:3: warning: passing argument 1 of 'serial_assign'
discards 'const' qualifier from pointer target type [enabled by
default]
/home/wd/git/u-boot/env-substitute/include/serial.h:95:12: note:
expected 'char *' but argument is of type 'const char *'

Please fix.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
A year spent in artificial intelligence is enough to make one believe
in God.


More information about the U-Boot mailing list