Description of problem: Running i2cdetect on i2c slave device (i2c-designware) results in a kernel NULL pointer dereference, causing an internal error and crash. Version-Release number of selected component (if applicable): 6.9.0-rc3-yocto-standard+ How reproducible: Always Steps to Reproduce: Run i2cdetect on an i2c slave device using i2c-designware. Actual results: Kernel NULL pointer dereference at virtual address 0000000000000000, resulting in an internal error and system crash. Expected results: i2cdetect runs without causing a kernel NULL pointer dereference and does not crash the system. Additional info: Callers of __i2c_transfer() must verify that master_xfer is not NULL.
The PR Link: https://gitee.com/anolis/cloud-kernel/pulls/3175
The PR Link: https://gitee.com/anolis/cloud-kernel/pulls/3270