Rasmus Villemoes bc3f5d8c4c drm/radeon: use post-decrement in error handling
We need to use post-decrement to get the pci_map_page undone also for
i==0, and to avoid some very unpleasant behaviour if pci_map_page
failed already at i==0.

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
2016-02-16 10:05:50 -05:00
..
2015-05-26 15:09:03 +02:00
2015-10-21 11:35:11 -04:00
2015-01-22 10:42:19 -05:00
2015-12-02 12:45:54 -05:00
2013-09-11 11:44:38 -04:00
2013-09-11 11:44:38 -04:00
2015-12-02 12:45:54 -05:00
2015-05-26 10:31:21 -04:00
2014-03-06 16:46:56 -05:00
2015-10-21 11:35:11 -04:00
2015-12-02 12:45:54 -05:00
2014-12-02 10:58:33 +10:00
2015-11-30 14:44:34 -05:00
2015-12-02 12:45:54 -05:00
2015-12-02 12:45:54 -05:00
2015-05-07 11:00:15 -04:00
2016-01-13 12:15:53 -05:00