]> 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>
Thu, 18 Dec 2025 13:02:54 +0000 (14:02 +0100)
commite463548fd80e779efea1cb2d3049b8a7231e6925
tree178ee13e4dec666d7d3b7088f25a43428c581e69
parent1a5c5a2f88e839af5320216a02ffb075b668596a
staging: most: remove broken i2c driver

[ Upstream commit 495df2da6944477d282d5cc0c13174d06e25b310 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.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]