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 kernel-janitors" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux