https://github.com/torvalds/linux
Revision 350d0076c5763ca2b88ca05e3889bfa7c1905f21 authored by Atsushi Nemoto on 15 November 2007, 00:59:22 UTC, committed by Linus Torvalds on 15 November 2007, 02:45:39 UTC
After 49dce689ad4ef0fd1f970ef762168e4bd46f69a3, device_for_each_child
iteration hits the master device itself.  Do not call spi_unregister_device()
for the master device.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Acked-by: David Brownell <david-b@pacbell.net>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent cbff2fb
History
Tip revision: 350d0076c5763ca2b88ca05e3889bfa7c1905f21 authored by Atsushi Nemoto on 15 November 2007, 00:59:22 UTC
spi: fix double-free on spi_unregister_master
Tip revision: 350d007
File Mode Size
Documentation
arch
block
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
usr
.gitignore -rw-r--r-- 628 bytes
.mailmap -rw-r--r-- 3.6 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 90.1 KB
Kbuild -rw-r--r-- 1.6 KB
MAINTAINERS -rw-r--r-- 93.2 KB
Makefile -rw-r--r-- 52.1 KB
README -rw-r--r-- 16.5 KB
REPORTING-BUGS -rw-r--r-- 3.0 KB

README

back to top