[U-Boot] [PATCHv2 0/3] Use return value of cmd_usage

Thomas Weber weber at corscience.de
Thu Nov 25 08:05:27 CET 2010


cmd_usage returns 1, so its return value can be used as return value.

Some functions ignore the return value of cmd_usage and return a "1" in
the next line. These patches change these calls so that the return value of
cmd_usage is used as return value.


*** BLURB HERE ***

Thomas Weber (3):
  Common/cmd_nvedit: Use return value of cmd_usage
  Gdsys: osd: Use return value of cmd_usage
  Powerpc: cmd_ecctest: Use return value of cmd_usage

 arch/powerpc/cpu/ppc4xx/cmd_ecctest.c |    6 ++----
 board/gdsys/common/osd.c              |    6 ++----
 common/cmd_nvedit.c                   |   18 ++++++------------
 3 files changed, 10 insertions(+), 20 deletions(-)

-- 
1.7.3.2



More information about the U-Boot mailing list