Skip to content

Commit 495df2d

Browse files
jhovoldgregkh
authored andcommitted
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 723de0f ("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: 723de0f ("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>
1 parent d68eb90 commit 495df2d

5 files changed

Lines changed: 0 additions & 394 deletions

File tree

drivers/staging/most/Kconfig

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,4 @@ source "drivers/staging/most/video/Kconfig"
2424

2525
source "drivers/staging/most/dim2/Kconfig"
2626

27-
source "drivers/staging/most/i2c/Kconfig"
28-
2927
endif

drivers/staging/most/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,3 @@
33
obj-$(CONFIG_MOST_NET) += net/
44
obj-$(CONFIG_MOST_VIDEO) += video/
55
obj-$(CONFIG_MOST_DIM2) += dim2/
6-
obj-$(CONFIG_MOST_I2C) += i2c/

drivers/staging/most/i2c/Kconfig

Lines changed: 0 additions & 13 deletions
This file was deleted.

drivers/staging/most/i2c/Makefile

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)