“6ab3d5624e172c553004ecc862bfeac16d9d68b7”上不存在“drivers/net/ibm_newemac/core.h”
macintosh: Don't assume i2c device probing always succeeds
If i2c device probing fails, then there is no driver to dereference after calling i2c_new_device(). Stop assuming that probing will always succeed, to avoid NULL pointer dereferences. We have an easier access to the driver anyway. Signed-off-by: NJean Delvare <khali@linux-fr.org> Tested-by: NTim Shepard <shep@alum.mit.edu> Cc: Colin Leroy <colin@colino.net>
Showing
想要评论请 注册 或 登录