Re: [PATCH] w1: ds28e17: reject an oversize length on an I2C block read

From: Andi Shyti

Date: Thu Jul 02 2026 - 15:09:59 EST


Hi Krzysztof,

> >> Reject a length above I2C_SMBUS_BLOCK_MAX at both RECV_LEN sites, the
> >> same way i2c-algo-bit does.
> >>
> >> Fixes: ebc4768ac497 ("add w1_ds28e17 driver for the DS28E17 Onewire to I2C master bridge")
> >> Cc: stable@xxxxxxxxxxxxxxx
> >
> > Cc: <stable@xxxxxxxxxxxxxxx> # v4.15+
>
> This is not needed. CC stable is enough with Fixes tag. Unless this
> should not be backported to the kernel which introduced this issue, but
> then why?

yes, you're right, but reading the documentation it suggests to
use this form, it's easy to get, so why not? I always use it.

Andi