Re: function ehci_hub_control in ehci-hub.c

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

 



On Mon, Apr 04, 2016 at 11:57:27AM -0400, Alan Stern wrote:
> On Mon, 4 Apr 2016, Navin P.S wrote:
> 
> > > You want to replace 2 statements with 8 statements that do exactly 
> > > the same thing?  This does not seem like an improvement.
> > >
> > 
> >  I think Yes i have replaced 2 incorrect statements with 8 correct ones 
> > due to below reason.
> 
> The original statements are not incorrect.
> 
> > Ubsan is a feature that is enabled .config , it was supposed to
> > fix things that were caught at runtime. If ubsan produces an error at
> > runtime, it gives us an oppurtunity to fix . Ignoring it would defeat
> > the purpose of ubsan=y in .config.
> 
> UBSAN is not always right.  This is a case where it is wrong.

Can you please provide me with bug id for ubsan/gcc since you say
that UBSAN is wrong here ?
--
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