Re: [U-Boot] [PATCH] serial: sandbox: use ssize_t to match os_read
Dear Mike Frysinger, In message <1319624461-31904-1-git-send-email-vap...@gentoo.org> you wrote: > Signed-off-by: Mike Frysinger > --- > drivers/serial/sandbox.c |2 +- > 1 files changed, 1 insertions(+), 1 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: w...@denx.de Unix: Some say the learning curve is steep, but you only have to climb it once. - Karl Lehenbauer ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] [PATCH] serial: sandbox: use ssize_t to match os_read
On Wed, Oct 26, 2011 at 3:21 AM, Mike Frysinger wrote: > Signed-off-by: Mike Frysinger Acked-by: Simon Glass > --- > drivers/serial/sandbox.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/drivers/serial/sandbox.c b/drivers/serial/sandbox.c > index cae6c94..814a0f9 100644 > --- a/drivers/serial/sandbox.c > +++ b/drivers/serial/sandbox.c > @@ -50,7 +50,7 @@ void serial_puts(const char *str) > int serial_getc(void) > { > char buf; > - int count; > + ssize_t count; > > count = os_read(0, &buf, 1); > return count == 1 ? buf : 0; > -- > 1.7.6.1 > > ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
[U-Boot] [PATCH] serial: sandbox: use ssize_t to match os_read
Signed-off-by: Mike Frysinger --- drivers/serial/sandbox.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/serial/sandbox.c b/drivers/serial/sandbox.c index cae6c94..814a0f9 100644 --- a/drivers/serial/sandbox.c +++ b/drivers/serial/sandbox.c @@ -50,7 +50,7 @@ void serial_puts(const char *str) int serial_getc(void) { char buf; - int count; + ssize_t count; count = os_read(0, &buf, 1); return count == 1 ? buf : 0; -- 1.7.6.1 ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot