Messages in this thread | | | From | Hartley Sweeten <> | Subject | RE: [PATCH v2] staging/comedi/dt282x: avoid integer overflow warning | Date | Thu, 17 Mar 2016 16:59:10 +0000 |
| |
On Thursday, March 17, 2016 9:09 AM, Arnd Bergmann wrote: > On Thursday 17 March 2016 15:47:57 Hartley Sweeten wrote: >> On Wednesday, March 16, 2016 1:51 PM, Arnd Bergmann wrote: >> >> Is this a gcc-6 specific issue? Seems line this warning should be showing >> up in a lot of drivers. > > Yes, I did not see this before moving to gcc-6.0, but this is the only driver > I've encountered the warning for, in around 7000 randconfig builds.
Weird...
> Feel free to come up with a different patch. I've put the patch on > my 'submitted' stack for now and will get back to it after 4.7-rc1 if > the warning remains.
I'll post an alternate patch shortly that is more consistent with the other comedi drivers.
If you could test that it fixes the gcc-6 issue that would be great!
Thanks, Hartley
| |