On Monday 07 March 2016 06:19 PM, kernel test robot wrote:
Greetings,
0day kernel testing robot got the below dmesg and the first bad commit is
https://github.com/0day-ci/linux
Sudip-Mukherjee/i2c-i2c-core-do-not-use-bus-internal-data/20160307-195104
commit f3eab4251515a492aa38e515d9a2322c535ce358
Author: Sudip Mukherjee <sudipm.mukherjee(a)gmail.com>
AuthorDate: Mon Mar 7 17:19:17 2016 +0530
Commit: 0day robot <fengguang.wu(a)intel.com>
CommitDate: Mon Mar 7 19:51:06 2016 +0800
i2c: i2c-core: do not use bus internal data
The variable p is a data structure which is used by the driver core
internally and it is not expected that busses will be directly accessing
these driver core internal only data.
Signed-off-by: Sudip Mukherjee <sudip.mukherjee(a)codethink.co.uk>
The warnings and stacktrace are expected as there was a WARN_ON() in it.
But can you please check if the attached patch fixes the BUG: and the
null pointer dereference. The patch will apply on top of my previous
patch (i2c: i2c-core: do not use bus internal data).
regards
sudip