All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [KJ] [PATCH] dvb: remove coding style comments on indentation
@ 2007-03-25 21:19 Michael Krufky
  2007-03-25 21:35 ` Bernd Petrovitsch
                   ` (7 more replies)
  0 siblings, 8 replies; 10+ messages in thread
From: Michael Krufky @ 2007-03-25 21:19 UTC (permalink / raw)
  To: kernel-janitors

Charles Clément wrote:
> Remove comments on setting indentation for emacs in bt8xx driver.

What do we gain by this patch?  The "c-basic-offset: 8" helps us
to enforce tabbing style.  Why would anybody want this removed?

Regards,

Mike Krufky


> 
> Signed-off-by: Charles Clément <caratorn@gmail.com>
> 
> ---
> Index: linux-2.6.21-rc4/drivers/media/video/bt8xx/bt832.c
> =================================> --- linux-2.6.21-rc4.orig/drivers/media/video/bt8xx/bt832.c
> +++ linux-2.6.21-rc4/drivers/media/video/bt8xx/bt832.c
> @@ -255,11 +255,3 @@ static void __exit bt832_cleanup_module(
>  
>  module_init(bt832_init_module);
>  module_exit(bt832_cleanup_module);
> -
> -/*
> - * Overrides for Emacs so that we follow Linus's tabbing style.
> - * ---------------------------------------------------------------------------
> - * Local variables:
> - * c-basic-offset: 8
> - * End:
> - */
> Index: linux-2.6.21-rc4/drivers/media/video/bt8xx/bttv-cards.c
> =================================> --- linux-2.6.21-rc4.orig/drivers/media/video/bt8xx/bttv-cards.c
> +++ linux-2.6.21-rc4/drivers/media/video/bt8xx/bttv-cards.c
> @@ -5044,10 +5044,3 @@ int __devinit bttv_handle_chipset(struct
>  		pci_write_config_byte(btv->c.pci, PCI_LATENCY_TIMER, latency);
>  	return 0;
>  }
> -
> -
> -/*
> - * Local variables:
> - * c-basic-offset: 8
> - * End:
> - */
> Index: linux-2.6.21-rc4/drivers/media/video/bt8xx/bttv-driver.c
> =================================> --- linux-2.6.21-rc4.orig/drivers/media/video/bt8xx/bttv-driver.c
> +++ linux-2.6.21-rc4/drivers/media/video/bt8xx/bttv-driver.c
> @@ -4981,9 +4981,3 @@ static void bttv_cleanup_module(void)
>  
>  module_init(bttv_init_module);
>  module_exit(bttv_cleanup_module);
> -
> -/*
> - * Local variables:
> - * c-basic-offset: 8
> - * End:
> - */
> Index: linux-2.6.21-rc4/drivers/media/video/bt8xx/bttv-gpio.c
> =================================> --- linux-2.6.21-rc4.orig/drivers/media/video/bt8xx/bttv-gpio.c
> +++ linux-2.6.21-rc4/drivers/media/video/bt8xx/bttv-gpio.c
> @@ -186,9 +186,3 @@ void bttv_gpio_bits(struct bttv_core *co
>  	spin_unlock_irqrestore(&btv->gpio_lock,flags);
>  }
>  EXPORT_SYMBOL(bttv_gpio_bits);
> -
> -/*
> - * Local variables:
> - * c-basic-offset: 8
> - * End:
> - */
> Index: linux-2.6.21-rc4/drivers/media/video/bt8xx/bttv.h
> =================================> --- linux-2.6.21-rc4.orig/drivers/media/video/bt8xx/bttv.h
> +++ linux-2.6.21-rc4/drivers/media/video/bt8xx/bttv.h
> @@ -355,8 +355,3 @@ extern void bttv_input_fini(struct bttv 
>  extern void bttv_input_irq(struct bttv *dev);
>  
>  #endif /* _BTTV_H_ */
> -/*
> - * Local variables:
> - * c-basic-offset: 8
> - * End:
> - */
> Index: linux-2.6.21-rc4/drivers/media/video/bt8xx/bttv-i2c.c
> =================================> --- linux-2.6.21-rc4.orig/drivers/media/video/bt8xx/bttv-i2c.c
> +++ linux-2.6.21-rc4/drivers/media/video/bt8xx/bttv-i2c.c
> @@ -481,9 +481,3 @@ int __devexit fini_bttv_i2c(struct bttv 
>  
>  	return i2c_del_adapter(&btv->c.i2c_adap);
>  }
> -
> -/*
> - * Local variables:
> - * c-basic-offset: 8
> - * End:
> - */
> Index: linux-2.6.21-rc4/drivers/media/video/bt8xx/bttv-if.c
> =================================> --- linux-2.6.21-rc4.orig/drivers/media/video/bt8xx/bttv-if.c
> +++ linux-2.6.21-rc4/drivers/media/video/bt8xx/bttv-if.c
> @@ -151,9 +151,3 @@ void bttv_i2c_call(unsigned int card, un
>  		return;
>  	bttv_call_i2c_clients(&bttvs[card], cmd, arg);
>  }
> -
> -/*
> - * Local variables:
> - * c-basic-offset: 8
> - * End:
> - */
> Index: linux-2.6.21-rc4/drivers/media/video/bt8xx/bttv-input.c
> =================================> --- linux-2.6.21-rc4.orig/drivers/media/video/bt8xx/bttv-input.c
> +++ linux-2.6.21-rc4/drivers/media/video/bt8xx/bttv-input.c
> @@ -348,10 +348,3 @@ void bttv_input_fini(struct bttv *btv)
>  	kfree(btv->remote);
>  	btv->remote = NULL;
>  }
> -
> -
> -/*
> - * Local variables:
> - * c-basic-offset: 8
> - * End:
> - */
> Index: linux-2.6.21-rc4/drivers/media/video/bt8xx/bttvp.h
> =================================> --- linux-2.6.21-rc4.orig/drivers/media/video/bt8xx/bttvp.h
> +++ linux-2.6.21-rc4/drivers/media/video/bt8xx/bttvp.h
> @@ -469,9 +469,3 @@ extern struct bttv bttvs[BTTV_MAX];
>  #define btaor(dat,mask,adr) btwrite((dat) | ((mask) & btread(adr)), adr)
>  
>  #endif /* _BTTVP_H_ */
> -
> -/*
> - * Local variables:
> - * c-basic-offset: 8
> - * End:
> - */
> Index: linux-2.6.21-rc4/drivers/media/video/bt8xx/bttv-risc.c
> =================================> --- linux-2.6.21-rc4.orig/drivers/media/video/bt8xx/bttv-risc.c
> +++ linux-2.6.21-rc4/drivers/media/video/bt8xx/bttv-risc.c
> @@ -894,9 +894,3 @@ bttv_overlay_risc(struct bttv *btv,
>  	buf->vb.field = ov->field;
>  	return 0;
>  }
> -
> -/*
> - * Local variables:
> - * c-basic-offset: 8
> - * End:
> - */
> Index: linux-2.6.21-rc4/drivers/media/video/bt8xx/bttv-vbi.c
> =================================> --- linux-2.6.21-rc4.orig/drivers/media/video/bt8xx/bttv-vbi.c
> +++ linux-2.6.21-rc4/drivers/media/video/bt8xx/bttv-vbi.c
> @@ -446,10 +446,3 @@ bttv_vbi_fmt_reset	(struct bttv_vbi_fmt 
>  	/* See bttv_vbi_fmt_set(). */
>  	f->end                  = tvnorm->vbistart[0] * 2 + 2;
>  }
> -
> -/* ----------------------------------------------------------------------- */
> -/*
> - * Local variables:
> - * c-basic-offset: 8
> - * End:
> - */
> 

_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/kernel-janitors

^ permalink raw reply	[flat|nested] 10+ messages in thread
* [KJ]  [PATCH] dvb: remove coding style comments on indentation
@ 2007-03-25 12:25 Charles Clément
  0 siblings, 0 replies; 10+ messages in thread
From: Charles Clément @ 2007-03-25 12:25 UTC (permalink / raw)
  To: kernel-janitors

Remove comments on setting indentation for emacs in bt8xx driver.

Signed-off-by: Charles Clément <caratorn@gmail.com>

---
Index: linux-2.6.21-rc4/drivers/media/video/bt8xx/bt832.c
=================================--- linux-2.6.21-rc4.orig/drivers/media/video/bt8xx/bt832.c
+++ linux-2.6.21-rc4/drivers/media/video/bt8xx/bt832.c
@@ -255,11 +255,3 @@ static void __exit bt832_cleanup_module(
 
 module_init(bt832_init_module);
 module_exit(bt832_cleanup_module);
-
-/*
- * Overrides for Emacs so that we follow Linus's tabbing style.
- * ---------------------------------------------------------------------------
- * Local variables:
- * c-basic-offset: 8
- * End:
- */
Index: linux-2.6.21-rc4/drivers/media/video/bt8xx/bttv-cards.c
=================================--- linux-2.6.21-rc4.orig/drivers/media/video/bt8xx/bttv-cards.c
+++ linux-2.6.21-rc4/drivers/media/video/bt8xx/bttv-cards.c
@@ -5044,10 +5044,3 @@ int __devinit bttv_handle_chipset(struct
 		pci_write_config_byte(btv->c.pci, PCI_LATENCY_TIMER, latency);
 	return 0;
 }
-
-
-/*
- * Local variables:
- * c-basic-offset: 8
- * End:
- */
Index: linux-2.6.21-rc4/drivers/media/video/bt8xx/bttv-driver.c
=================================--- linux-2.6.21-rc4.orig/drivers/media/video/bt8xx/bttv-driver.c
+++ linux-2.6.21-rc4/drivers/media/video/bt8xx/bttv-driver.c
@@ -4981,9 +4981,3 @@ static void bttv_cleanup_module(void)
 
 module_init(bttv_init_module);
 module_exit(bttv_cleanup_module);
-
-/*
- * Local variables:
- * c-basic-offset: 8
- * End:
- */
Index: linux-2.6.21-rc4/drivers/media/video/bt8xx/bttv-gpio.c
=================================--- linux-2.6.21-rc4.orig/drivers/media/video/bt8xx/bttv-gpio.c
+++ linux-2.6.21-rc4/drivers/media/video/bt8xx/bttv-gpio.c
@@ -186,9 +186,3 @@ void bttv_gpio_bits(struct bttv_core *co
 	spin_unlock_irqrestore(&btv->gpio_lock,flags);
 }
 EXPORT_SYMBOL(bttv_gpio_bits);
-
-/*
- * Local variables:
- * c-basic-offset: 8
- * End:
- */
Index: linux-2.6.21-rc4/drivers/media/video/bt8xx/bttv.h
=================================--- linux-2.6.21-rc4.orig/drivers/media/video/bt8xx/bttv.h
+++ linux-2.6.21-rc4/drivers/media/video/bt8xx/bttv.h
@@ -355,8 +355,3 @@ extern void bttv_input_fini(struct bttv 
 extern void bttv_input_irq(struct bttv *dev);
 
 #endif /* _BTTV_H_ */
-/*
- * Local variables:
- * c-basic-offset: 8
- * End:
- */
Index: linux-2.6.21-rc4/drivers/media/video/bt8xx/bttv-i2c.c
=================================--- linux-2.6.21-rc4.orig/drivers/media/video/bt8xx/bttv-i2c.c
+++ linux-2.6.21-rc4/drivers/media/video/bt8xx/bttv-i2c.c
@@ -481,9 +481,3 @@ int __devexit fini_bttv_i2c(struct bttv 
 
 	return i2c_del_adapter(&btv->c.i2c_adap);
 }
-
-/*
- * Local variables:
- * c-basic-offset: 8
- * End:
- */
Index: linux-2.6.21-rc4/drivers/media/video/bt8xx/bttv-if.c
=================================--- linux-2.6.21-rc4.orig/drivers/media/video/bt8xx/bttv-if.c
+++ linux-2.6.21-rc4/drivers/media/video/bt8xx/bttv-if.c
@@ -151,9 +151,3 @@ void bttv_i2c_call(unsigned int card, un
 		return;
 	bttv_call_i2c_clients(&bttvs[card], cmd, arg);
 }
-
-/*
- * Local variables:
- * c-basic-offset: 8
- * End:
- */
Index: linux-2.6.21-rc4/drivers/media/video/bt8xx/bttv-input.c
=================================--- linux-2.6.21-rc4.orig/drivers/media/video/bt8xx/bttv-input.c
+++ linux-2.6.21-rc4/drivers/media/video/bt8xx/bttv-input.c
@@ -348,10 +348,3 @@ void bttv_input_fini(struct bttv *btv)
 	kfree(btv->remote);
 	btv->remote = NULL;
 }
-
-
-/*
- * Local variables:
- * c-basic-offset: 8
- * End:
- */
Index: linux-2.6.21-rc4/drivers/media/video/bt8xx/bttvp.h
=================================--- linux-2.6.21-rc4.orig/drivers/media/video/bt8xx/bttvp.h
+++ linux-2.6.21-rc4/drivers/media/video/bt8xx/bttvp.h
@@ -469,9 +469,3 @@ extern struct bttv bttvs[BTTV_MAX];
 #define btaor(dat,mask,adr) btwrite((dat) | ((mask) & btread(adr)), adr)
 
 #endif /* _BTTVP_H_ */
-
-/*
- * Local variables:
- * c-basic-offset: 8
- * End:
- */
Index: linux-2.6.21-rc4/drivers/media/video/bt8xx/bttv-risc.c
=================================--- linux-2.6.21-rc4.orig/drivers/media/video/bt8xx/bttv-risc.c
+++ linux-2.6.21-rc4/drivers/media/video/bt8xx/bttv-risc.c
@@ -894,9 +894,3 @@ bttv_overlay_risc(struct bttv *btv,
 	buf->vb.field = ov->field;
 	return 0;
 }
-
-/*
- * Local variables:
- * c-basic-offset: 8
- * End:
- */
Index: linux-2.6.21-rc4/drivers/media/video/bt8xx/bttv-vbi.c
=================================--- linux-2.6.21-rc4.orig/drivers/media/video/bt8xx/bttv-vbi.c
+++ linux-2.6.21-rc4/drivers/media/video/bt8xx/bttv-vbi.c
@@ -446,10 +446,3 @@ bttv_vbi_fmt_reset	(struct bttv_vbi_fmt 
 	/* See bttv_vbi_fmt_set(). */
 	f->end                  = tvnorm->vbistart[0] * 2 + 2;
 }
-
-/* ----------------------------------------------------------------------- */
-/*
- * Local variables:
- * c-basic-offset: 8
- * End:
- */

-- 
Charles Clément.
_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/kernel-janitors

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2007-03-26  0:06 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-25 21:19 [KJ] [PATCH] dvb: remove coding style comments on indentation Michael Krufky
2007-03-25 21:35 ` Bernd Petrovitsch
2007-03-25 21:54 ` Michael Krufky
2007-03-25 21:56 ` Charles Clément
2007-03-25 22:16 ` Mike Isely
2007-03-25 22:17 ` Michael Krufky
2007-03-25 22:35 ` Bernd Petrovitsch
2007-03-25 23:28 ` Mike Isely
2007-03-26  0:06 ` hermann pitton
  -- strict thread matches above, loose matches on Subject: below --
2007-03-25 12:25 Charles Clément

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.