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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 29 Jul 2020 08:19:41 +0000 (10:19 +0200)
commitb469a8d77577f673d3c76565224dc81e8a6f992c
tree319d3d4559d1e3136706c1d0de00ca7713266967
parente41f117cbbece00d4bb284ac03d3ba31d230389a
hippi: Fix a size used in a 'pci_free_consistent()' in an error handling path

[ Upstream commit 3195c4706b00106aa82c73acd28340fa8fc2bfc1 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/hippi/rrunner.c