Messages in this thread | | | Date | Sun, 28 Jun 2020 20:20:15 +0200 | From | Wolfram Sang <> | Subject | Re: [PATCH] i2c: core: check returned size of emulated smbus block read |
| |
> I saw it with the mv64xxx (Allwinner) and omap (Beaglebone) drivers. > From a quick look, it seems like quite a few others have the same > problem.
Okay, well, to be fair, both drivers don't advertise I2C_SMBUS_BLOCK_DATA. The client driver should check for that. Anyhow, it makes sense to have your additional check in the core as fallback safety.
[unhandled content-type:application/pgp-signature]
| |