Re: [PATCH 21/32] ide-tape: idetape_chrdev_direction_t:shorten enum names

From: Bartlomiej Zolnierkiewicz
Date: Sun Jan 27 2008 - 14:37:15 EST


On Sunday 27 January 2008, Borislav Petkov wrote:
> From: Borislav Petkov <bbpetkov@xxxxxxxx>
>
> Signed-off-by: Borislav Petkov <bbpetkov@xxxxxxxx>
> ---
> drivers/ide/ide-tape.c | 60 ++++++++++++++++++++++++-----------------------
> 1 files changed, 31 insertions(+), 29 deletions(-)
>
> diff --git a/drivers/ide/ide-tape.c b/drivers/ide/ide-tape.c
> index cf308d7..b487d56 100644
> --- a/drivers/ide/ide-tape.c
> +++ b/drivers/ide/ide-tape.c
> @@ -178,11 +178,13 @@ enum {
> /*
> * For general magnetic tape device compatibility.
> */
> +
> +/* tape directions */
> typedef enum {
> - idetape_direction_none,
> - idetape_direction_read,
> - idetape_direction_write
> -} idetape_chrdev_direction_t;
> + idetape_dir_none,
> + idetape_dir_read,
> + idetape_dir_write

Could you convert them to upper-case while at it?

> +} idetape_chrdev_dir_t;
--
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/