https://github.com/torvalds/linux
Revision 4fbbed46dca83bcba3a0170205110a06c116a8e6 authored by Rasmus Villemoes on 15 February 2016, 18:41:46 UTC, committed by Dave Airlie on 19 February 2016, 03:36:05 UTC
We need to use post-decrement to get the dma_map_page undone also for
i==0, and to avoid some very unpleasant behaviour if dma_map_page
failed already at i==0.

Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Reviewed-by: Ben Skeggs <bskeggs@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
1 parent 5fff80b
History
Tip revision: 4fbbed46dca83bcba3a0170205110a06c116a8e6 authored by Rasmus Villemoes on 15 February 2016, 18:41:46 UTC
drm/nouveau: use post-decrement in error handling
Tip revision: 4fbbed4
File Mode Size
Documentation
arch
block
certs
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.get_maintainer.ignore -rw-r--r-- 31 bytes
.gitignore -rw-r--r-- 1.2 KB
.mailmap -rw-r--r-- 5.5 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 95.4 KB
Kbuild -rw-r--r-- 2.6 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 337.0 KB
Makefile -rw-r--r-- 53.7 KB
README -rw-r--r-- 18.2 KB
REPORTING-BUGS -rw-r--r-- 7.3 KB

README

back to top