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

Mark Brown broonie at kernel.org
Wed Feb 23 12:04:42 PST 2022


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?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20220223/9eb2289f/attachment.sig>


More information about the linux-arm-kernel mailing list