aboutsummaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorVladimir Zapolskiy <[email protected]>2022-02-03 18:47:03 +0200
committerWolfram Sang <[email protected]>2022-02-11 18:43:08 +0100
commit02a4a69667a2ad32f3b52ca906f19628fbdd8a01 (patch)
tree459079398d2e68c55460e92722ac47fe948fdd8d /net/switchdev/switchdev.c
parenta0d48505a1d68e27220369e2dd1e3573a2f362d2 (diff)
i2c: qcom-cci: don't put a device tree node before i2c_add_adapter()
There is a minor chance for a race, if a pointer to an i2c-bus subnode is stored and then reused after releasing its reference, and it would be sufficient to get one more reference under a loop over children subnodes. Fixes: e517526195de ("i2c: Add Qualcomm CCI I2C driver") Signed-off-by: Vladimir Zapolskiy <[email protected]> Reviewed-by: Robert Foss <[email protected]> Reviewed-by: Bjorn Andersson <[email protected]> Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions