Re: usb-serial.c:1415 code aligned with following code on line 1416

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

 



On Wed, Sep 19, 2012 at 08:57:00AM +0800, Fengguang Wu wrote:
> Hi Greg,
> 
> FYI, coccinelle warns about
> 
> drivers/usb/serial/usb-serial.c:1415:3-51: code aligned with following code on line 1416
> 
> vim +1415 drivers/usb/serial/usb-serial.c
> 
>   1412		/* we only set the reset_resume field if the serial_driver has one */
>   1413		for (sd = serial_drivers; *sd; ++sd) {
>   1414			if ((*sd)->reset_resume)
> > 1415				udriver->reset_resume = usb_serial_reset_resume;
> > 1416				break;
>   1417		}

Ah, nice catch, that's been there for a while now (since 3.5-rc1), I'll
go fix it up.

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux