Re: [PATCH] synclink drivers bool conversion

From: Joe Perches
Date: Sun Mar 09 2008 - 22:06:21 EST


On Sun, 2008-03-09 at 12:49 -0700, Joe Perches wrote:
> diff --git a/drivers/char/synclink.c b/drivers/char/synclink.c
> index ddc74d1..abf3c37 100644
> --- a/drivers/char/synclink.c
> +++ b/drivers/char/synclink.c
> @@ -5413,9 +5410,9 @@ static void usc_process_rxoverrun_sync( struct mgsl_struct *info )
>
> if ( !start_of_frame_found )
> {
> - start_of_frame_found = TRUE;
> + start_of_frame_found = true;
> frame_start_index = end_index;
> - end_of_frame_found = FALSE;
> + end_of_frame_found = true;
> }
>
> if ( buffer_list[end_index].status )

end_of_frame_found should be false

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/