Re: [PATCH v2 07/11] spi: use helper for safer setting of driver_override

Mark Brown
2022-02-23T20:04:59Z

[-- Attachment #1: Type: text/plain, Size: 302 bytes --]

On Wed, Feb 23, 2022 at 08:14:37PM +0100, Krzysztof Kozlowski wrote:

> Remove also "const" from the definition of spi_device.driver_override,
> because it is not correct. The SPI driver already treats it as
> dynamic, not const, memory.

We don't modify the string do we, we just allocate a new one?

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]