]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
staging: most: remove broken i2c driver
authorJohan Hovold <johan@kernel.org>
Wed, 29 Oct 2025 09:34:42 +0000 (10:34 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 9 Nov 2025 02:16:09 +0000 (11:16 +0900)
commit495df2da6944477d282d5cc0c13174d06e25b310
tree6dd47cb09192c9aba785e3ff373c19ac05a68bc2
parentd68eb9096fb065cc0cb5218ae651f54b08de5831
staging: most: remove broken i2c driver

The MOST I2C driver has been completely broken for five years without
anyone noticing so remove the driver from staging.

Specifically, commit 723de0f9171e ("staging: most: remove device from
interface structure") started requiring drivers to set the interface
device pointer before registration, but the I2C driver was never updated
which results in a NULL pointer dereference if anyone ever tries to
probe it.

Fixes: 723de0f9171e ("staging: most: remove device from interface structure")
Cc: Christian Gromm <christian.gromm@microchip.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
Link: https://patch.msgid.link/20251029093442.29256-1-johan@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/most/Kconfig
drivers/staging/most/Makefile
drivers/staging/most/i2c/Kconfig [deleted file]
drivers/staging/most/i2c/Makefile [deleted file]
drivers/staging/most/i2c/i2c.c [deleted file]