[U-Boot-Users] [PATCH] Fix serial hangs when CONFIG_SERIAL_MULTI is defined

Anders Larsen alarsen at rea.de
Tue Sep 14 10:01:14 CEST 2004


Pantelis Antoniou <panto at intracom.gr> wrote:
>--- u-boot/common/serial.c	2004-08-02 01:48:18.000000000 +0300
>+++ u-boot-cvs-work/common/serial.c	2004-09-07 14:23:44.000000000 +0300
>@@ -102,6 +102,8 @@
> {
> 	struct serial_device *s;
> 
>+	return 0;
>+
> 	for (s = serial_devices; s; s = s->next)
> 	{
> 		if (strcmp(s->name, name) == 0)

Hi,

is it intentional that you disable the body of that function?
If yes, why not remove it entirely?

Cheers
 Anders





More information about the U-Boot mailing list