]> git.baikalelectronics.ru Git - kernel.git/commit
hippi: Fix a size used in a 'pci_free_consistent()' in an error handling path
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Tue, 14 Jul 2020 11:00:27 +0000 (13:00 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Jul 2020 21:11:49 +0000 (14:11 -0700)
commitb89b23c2a538993efed9533ef1a3af1d396e541c
tree46cffbe558045a8419c0d85b9fb220008bc82f60
parentcadeaa975b8bf81744054ea8105629b5917023da
hippi: Fix a size used in a 'pci_free_consistent()' in an error handling path

The size used when calling 'pci_alloc_consistent()' and
'pci_free_consistent()' should match.

Fix it and have it consistent with the corresponding call in 'rr_close()'.

Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/hippi/rrunner.c