Re: [patch] raid6: generate raid6tables.c with proper style

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



fre, 26 10 2007 kl. 10:17 +0200, skrev Ingo Molnar:
> Subject: raid6: generate raid6tables.c with proper style
> From: Ingo Molnar <[email protected]>

[snip]

> Index: linux/drivers/md/mktables.c
> ===================================================================
> --- linux.orig/drivers/md/mktables.c
> +++ linux/drivers/md/mktables.c
> @@ -69,7 +69,9 @@ int main(int argc, char *argv[])
>      for ( j = 0 ; j < 256 ; j += 8 ) {
>        printf("\t\t");
>        for ( k = 0 ; k < 8 ; k++ ) {
> -	printf("0x%02x, ", gfmul(i,j+k));
> +        if (k)
> +	  printf(" ");
> +	printf("0x%02x,", gfmul(i,j+k));

What happened with the coding style here?


Simon Holm Thøgersen

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

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux