diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2019-08-31 10:17:51 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-09-21 08:17:10 +0300 |
commit | 6bc421d5a04a0e830912a1f8f2c5c42e06405fd1 (patch) | |
tree | 2911ddc2d7925eea4ee351f16e693a617bf4b45e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 83360eb798cadc85de08db3f2219dfc656ff2a49 (diff) | |
download | linux-6bc421d5a04a0e830912a1f8f2c5c42e06405fd1.tar.xz |
net: seeq: Fix the function used to release some memory in an error handling path
[ Upstream commit e1e54ec7fb55501c33b117c111cb0a045b8eded2 ]
In commit 99cd149efe82 ("sgiseeq: replace use of dma_cache_wback_inv"),
a call to 'get_zeroed_page()' has been turned into a call to
'dma_alloc_coherent()'. Only the remove function has been updated to turn
the corresponding 'free_page()' into 'dma_free_attrs()'.
The error hndling path of the probe function has not been updated.
Fix it now.
Rename the corresponding label to something more in line.
Fixes: 99cd149efe82 ("sgiseeq: replace use of dma_cache_wback_inv")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Thomas Bogendoerfer <tbogendoerfer@suse.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions