aboutsummaryrefslogtreecommitdiff
path: root/Documentation/dev-tools/kfence.rst
diff options
context:
space:
mode:
authorPeter Rosin2022-03-02 12:22:35 +0100
committerWolfram Sang2022-03-20 00:49:43 +0100
commit1a22aabf20adf89cb216f566913196128766f25b (patch)
treebed053014957e87778486e4e5dc3f5e7ccb66f81 /Documentation/dev-tools/kfence.rst
parentcb13aa16f34f794a9cee2626862af8a95f0f0ee9 (diff)
i2c: mux: demux-pinctrl: do not deactivate a master that is not active
Attempting to rollback the activation of the current master when the current master has not been activated is bad. priv->cur_chan and priv->cur_adap are both still zeroed out and the rollback may result in attempts to revert an of changeset that has not been applied and do result in calls to both del and put the zeroed out i2c_adapter. Maybe it crashes, or whatever, but it's bad in any case. Fixes: e9d1a0a41d44 ("i2c: mux: demux-pinctrl: Fix an error handling path in 'i2c_demux_pinctrl_probe()'") Signed-off-by: Peter Rosin <peda@axentia.se> Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'Documentation/dev-tools/kfence.rst')
0 files changed, 0 insertions, 0 deletions