diff options
author | Gray Remlin <gryrmln@gmail.com> | 2011-03-29 10:21:32 +0000 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2011-04-28 00:46:49 +0200 |
commit | 9030a55ef3b82aca88d228692fdceffc4ca14aa2 (patch) | |
tree | 5644c38d2e507bd845481247faf725e16209f13b /net | |
parent | 2dc55d9ede62cd2af2a6d813115373a462c2b3dc (diff) | |
download | u-boot-imx-9030a55ef3b82aca88d228692fdceffc4ca14aa2.zip u-boot-imx-9030a55ef3b82aca88d228692fdceffc4ca14aa2.tar.gz u-boot-imx-9030a55ef3b82aca88d228692fdceffc4ca14aa2.tar.bz2 |
NET: Correct potential missing goto label in case statement.
If neither CONFIG_CMD_PING or CONFIG_CMD_SNTP are defined but
CONFIG_CMD_DNS is, a compile-time error will occur due to the
absence of a goto label.
Signed-off-by: Gray Remlin <gryrmln@gmail.com>
Diffstat (limited to 'net')
-rw-r--r-- | net/net.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1724,7 +1724,8 @@ static int net_check_prereq (proto_t protocol) puts ("*** ERROR: `serverip' not set\n"); return (1); } -#if defined(CONFIG_CMD_PING) || defined(CONFIG_CMD_SNTP) +#if defined(CONFIG_CMD_PING) || defined(CONFIG_CMD_SNTP) || \ + defined(CONFIG_CMD_DNS) common: #endif |