From: Hans-Frieder Vogt Date: Sun, 6 Oct 2013 19:13:35 +0000 (+0200) Subject: w1 - fix fops in w1_bus_notify X-Git-Tag: v3.12-rc6~8^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2962aecef2878e2192ac9676700469678507c24d;p=pandora-kernel.git w1 - fix fops in w1_bus_notify Introduce a check to make sure that fops are only called if they have been defined by the slave module. Without this check modules like w1_smem cause a NULL pointer dereference bug. Signed-off by: Hans-Frieder Vogt Acked-by: Evgeniy Polyakov Cc: stable # 3.11+ Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed