Actions
Feature #11808
closedDevelop model and test for i2c_match_id()
Start date:
08/08/2022
Due date:
% Done:
0%
Estimated time:
Published in build:
Description
I2C drivers have another variant of probe() (called probe_new()) that does not accept a pointer to struct i2c_device_id generated by EMG for ordinary I2C drivers. Instead, they get it by using i2c_match_id() when necessary. We need to model it and test the model. There are ~3.5% of all false alarms at verification of Linux device drivers due to lack of this model.
Updated by Evgeny Novikov over 2 years ago
- Status changed from New to Resolved
I did the job in branch i2c_match_id-model-and-test. Evaluation on corresponding false alarms showed that there are either timeouts or false alarms due to other reasons when using the new model. Let's test it carefully.
Updated by Evgeny Novikov over 2 years ago
- Status changed from Resolved to Closed
All tests passed well. There is no more questions to i2c_match_id(), so I merged the branch to master in 1071135.
Actions