From: Wolfgang Denk Date: Thu, 28 Jul 2011 22:54:08 +0200 Subject: [U-Boot] [PATCH] panic: remove warning "'noreturn' function does return" In-Reply-To: <1311749757-20962-1-git-send-email-hs@denx.de> References: <1311749757-20962-1-git-send-email-hs@denx.de> Message-ID: <20110728205408.3617D15794DB@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Heiko Schocher, In message <1311749757-20962-1-git-send-email-hs@denx.de> you wrote: > since commit > > commit d2e8b911c0a0661d395ccac72156040702ac842d > Author: Mike Frysinger > Date: Wed Jun 29 11:58:04 2011 +0000 > > panic: add noreturn attribute > > I see the following warnings: > > vsprintf.c: In function 'panic': > vsprintf.c:730: warning: 'noreturn' function does return > > for nearly all boards. This patch fixes this warning. > > Signed-off-by: Heiko Schocher > cc: Mike Frysinger > --- > lib/vsprintf.c | 2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) Applied, thanks. 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 "We don't have to protect the environment -- the Second Coming is at hand." - James Watt