Re: [PATCH 1/2] staging: et131x: Fix checkpatch whitespace warnings

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

 



On Sat, Sep 03, 2011 at 12:49:06PM +0100, Mark Einon wrote:
> --- a/drivers/staging/et131x/et131x_netdev.c
> +++ b/drivers/staging/et131x/et131x_netdev.c
> @@ -408,7 +408,7 @@ void et131x_tx_timeout(struct net_device *netdev)
>  	unsigned long flags;
>  
>  	/* If the device is closed, ignore the timeout */
> -	if (~(adapter->flags & fMP_ADAPTER_INTERRUPT_IN_USE));
> +	if (~(adapter->flags & fMP_ADAPTER_INTERRUPT_IN_USE))
>  		return;
>  

You fixed a bug here.  That's not mentioned in the commit message.
Why would you want to keep that a secret?  Also it should go in a
separate commit.

But otherwise this patch looks good.

regards,
dan carpenter

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel


[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux