summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorTong Zhang <ztong0001@gmail.com>2021-03-07 22:25:29 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-03-30 14:44:59 +0200
commit59fa1b6b50259c669cee2750ba1f677d575d1330 (patch)
tree89078a6e58f617478bbbfa99c1142a46f7576d59 /tools/perf/scripts/python
parent231fa327153fbadd815a4060ae55653728ef1b92 (diff)
atm: uPD98402: fix incorrect allocation
[ Upstream commit 3153724fc084d8ef640c611f269ddfb576d1dcb1 ] dev->dev_data is set in zatm.c, calling zatm_start() will overwrite this dev->dev_data in uPD98402_start() and a subsequent PRIV(dev)->lock (i.e dev->phy_data->lock) will result in a null-ptr-dereference. I believe this is a typo and what it actually want to do is to allocate phy_data instead of dev_data. Signed-off-by: Tong Zhang <ztong0001@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions