aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2019-08-31 09:17:51 +0200
committerDavid S. Miller <davem@davemloft.net>2019-09-01 12:10:11 -0700
commite1e54ec7fb55501c33b117c111cb0a045b8eded2 (patch)
tree632253e7c74f8069a044fc0c8e5e87c673025277 /net
parentenetc: Add missing call to 'pci_free_irq_vectors()' in probe and remove functions (diff)
downloadlinux-dev-e1e54ec7fb55501c33b117c111cb0a045b8eded2.tar.xz
linux-dev-e1e54ec7fb55501c33b117c111cb0a045b8eded2.zip
net: seeq: Fix the function used to release some memory in an error handling path
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>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions