From: Hauke Mehrtens Date: Sat, 8 Nov 2014 12:59:42 +0000 (+0100) Subject: b43: fix NULL pointer dereference in b43_phy_copy() X-Git-Tag: omap-for-v3.19/fixes-for-merge-window~83^2~25^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9c3a6670863033df421c8e46f79f383cf3a922ee;p=pandora-kernel.git b43: fix NULL pointer dereference in b43_phy_copy() phy_read and phy_write are not set for every phy any more sine this: commit d342b95dd735014a590f9051b1ba227eb54ca8f6 Author: Rafał Miłecki Date: Thu Jul 31 21:59:43 2014 +0200 b43: don't duplicate common PHY read/write ops b43_phy_copy() accesses phy_read and phy_write directly and will fail with some phys. This patch fixes the regression by using the b43_phy_read() and b43_phy_write() functions which should be used for read and write access. This should fix this bug report: https://bugzilla.kernel.org/show_bug.cgi?id=87731 Reported-by: Volker Kempter Tested-by: Volker Kempter Signed-off-by: Hauke Mehrtens Signed-off-by: John W. Linville --- Reading git-diff-tree failed