Tetsuya Mukawa 0463fc37aa pci: fix resource leak when secondary process mapping fails
This patch fixes resource leak of pci_uio_map_secondary().
If pci_map_resource() succeeds but mapped address is different from an
address primary process mapped, this should be error.
Then the addresses secondary process mapped should be freed.

Signed-off-by: Tetsuya Mukawa <mukawa@igel.co.jp>
Acked-by: David Marchand <david.marchand@6wind.com>
2016-06-20 10:44:43 +02:00
..
2016-06-07 10:02:39 +02:00
2016-06-16 23:38:52 +02:00
2016-05-16 14:17:41 +02:00
2016-06-14 17:24:15 +02:00
2015-08-03 12:43:01 +02:00