Re: [PATCH v5 4/4] iio: cdc: add Texas Instruments FDC1004 driver
From: Jonathan Cameron
Date: Sat Nov 07 2026 - 14:32:03 EST
On Fri, 6 Nov 2026 16:25:22 -0600
Victor Chernyakin <chernyakin.victor.j@xxxxxxxxxxx> wrote:
> > >> drivers/iio/cdc/fdc1004.c:67:10: warning: integer overflow in expression of type 'long int' results in '-1246822400' [-Woverflow]
> > -0x8000 * 488281250L, /* min */
> > ^
> > drivers/iio/cdc/fdc1004.c:69:10: warning: integer overflow in expression of type 'long int' results in '758541150' [-Woverflow]
> > +0x7FFF * 488281250L, /* max */
>
> Switched suffixes to LL for v6.
>
https://sashiko.dev/#/patchset/SN1PR12MB2528805DB17DD015E191111FA5762%40SN1PR12MB2528.namprd12.prod.outlook.com
Had a few more things alongside spotting this one.
Some look valid such the poll related one and I'd have missed that.
Please check them all for v6.
Thanks,
Jonathan