Re: [PATCH 2/2] Staging:dt3155: fix coding style issue indt3155_drv.c This is a patch to the dt3155_drv.c file that fixes up acoding style warning and errors found by the checkpatch.pl tool;
From: Greg KH
Date: Tue Apr 27 2010 - 17:10:07 EST
On Sat, Mar 13, 2010 at 01:34:37PM +0500, Gorskin Ilya wrote:
> @@ -183,241 +183,215 @@ static inline void dt3155_isr( int irq, void *dev_id, struct pt_regs *regs )
> u32 buffer_addr;
>
> /* find out who issued the interrupt */
> - for ( index = 0; index < ndevices; index++ ) {
> - if( dev_id == (void*) &dt3155_status[ index ])
> - {
> - minor = index;
> + for (index = 0; index < ndevices; index++) {
> + if (dev_id == (void *) &dt3155_status[index]) {
> + minor = index;
This fixes up the {} usage, but not the tabs/spaces issues, so it is
still incorrect. Can you fix that up at the same time here?
thanks,
greg k-h
--
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/