From: Hans Verkuil Date: Sun, 10 Aug 2008 20:56:15 +0000 (+0200) Subject: i2c: Fix NULL pointer dereference in i2c_new_probed_device X-Git-Tag: v2.6.27-rc3~54^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b25b791b13aaa336b56c4f9bd417ff126363f80b;p=pandora-kernel.git i2c: Fix NULL pointer dereference in i2c_new_probed_device Fix a NULL pointer dereference that happened when calling i2c_new_probed_device on one of the addresses for which we use byte reads instead of quick write for detection purpose (that is: 0x30-0x37 and 0x50-0x5f). Signed-off-by: Hans Verkuil Signed-off-by: Jean Delvare --- Reading git-diff-tree failed