[PATCH] HVSI: Fix apparently backwards args to time_before() in hvsi.c
Bartlomiej Zolnierkiewicz
bzolnier at gmail.com
Sat Jan 2 05:15:47 EST 2010
On Friday 01 January 2010 06:28:03 pm Robert P. J. Day wrote:
>
> Signed-off-by: Robert P. J. Day <rpjday at crashcourse.ca>
>
> ---
>
> no appropriate subsystem maintainer listed in MAINTAINERS.
drivers/char/Makefile:
obj-$(CONFIG_HVC_CONSOLE) += hvc_vio.o hvsi.o
so it should belong to:
HYPERVISOR VIRTUAL CONSOLE DRIVER
L: linuxppc-dev at ozlabs.org
S: Odd Fixes
F: drivers/char/hvc_*
[ Though maybe Ben would be willing to pick this one up directly
as hvsi is PPC specific thingy and patch is obviously correct. ]
> diff --git a/drivers/char/hvsi.c b/drivers/char/hvsi.c
> index 793b236..71c0fcd 100644
> --- a/drivers/char/hvsi.c
> +++ b/drivers/char/hvsi.c
> @@ -711,7 +711,7 @@ static void hvsi_drain_input(struct hvsi_struct *hp)
> uint8_t buf[HVSI_MAX_READ] __ALIGNED__;
> unsigned long end_jiffies = jiffies + HVSI_TIMEOUT;
>
> - while (time_before(end_jiffies, jiffies))
> + while (time_before(jiffies, end_jiffies))
> if (0 == hvsi_read(hp, buf, HVSI_MAX_READ))
> break;
> }
--
Bartlomiej Zolnierkiewicz
More information about the Linuxppc-dev
mailing list