aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/namespaces.c
diff options
context:
space:
mode:
authorBoris Brezillon <[email protected]>2018-05-22 10:55:14 +0000
committerMark Brown <[email protected]>2018-05-22 10:56:34 +0000
commit1e07392e7b147fd15082f9b755fc249e853f9b96 (patch)
tree6b587cdbd262bc08acd816c7171846646ee9fed0 /fs/proc/namespaces.c
parentspi: omap2-mcspi: Remove unnecessary pm_runtime_force_suspend() (diff)
downloadkernel-1e07392e7b147fd15082f9b755fc249e853f9b96.tar.gz
kernel-1e07392e7b147fd15082f9b755fc249e853f9b96.zip
mtd: devices: m25p80: Use spi_mem_set_drvdata() instead of spi_set_drvdata()
SPI mem drivers should use spi_mem_set_drvdata() not spi_set_drvdata() to store their private data. Using spi_set_drvdata() will mess the spi -> spi-mem link up and cause a kernel panic at shutdown or device removal time. Fixes: 4120f8d158ef ("mtd: spi-nor: Use the spi_mem_xx() API") Reported-by: Marek Vasut <[email protected]> Signed-off-by: Boris Brezillon <[email protected]> Tested-by: Geert Uytterhoeven <[email protected]> Tested-by: Marek Vasut <[email protected]> on R8A7791 Porter Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'fs/proc/namespaces.c')
0 files changed, 0 insertions, 0 deletions