diff options
| author | Rasmus Villemoes <linux@rasmusvillemoes.dk> | 2016-02-15 19:41:47 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-03-03 15:07:23 -0800 |
| commit | 96e87f46f186b51e246fece96aa18ae39d535a98 (patch) | |
| tree | 2620096b4366702d4e7e0de8c55d647b7b50a9f5 /drivers/gpu/drm/drm_irq.c | |
| parent | b78bd121b4978a8378c8300e0fb2e12c88a05a85 (diff) | |
drm/radeon: use post-decrement in error handling
commit bc3f5d8c4ca01555820617eb3b6c0857e4df710d upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/gpu/drm/drm_irq.c')
0 files changed, 0 insertions, 0 deletions
