summaryrefslogtreecommitdiff
path: root/drivers/mfd/smsc-ece1099.c
diff options
context:
space:
mode:
authorRasmus Villemoes <linux@rasmusvillemoes.dk>2016-02-15 21:41:46 +0300
committerDave Airlie <airlied@redhat.com>2016-02-19 06:36:05 +0300
commit4fbbed46dca83bcba3a0170205110a06c116a8e6 (patch)
tree446e525b609222a41fb398993131b9a5d25e1abd /drivers/mfd/smsc-ece1099.c
parent5fff80bbdb6b84a94f90391ba674471d37b57eb2 (diff)
downloadlinux-4fbbed46dca83bcba3a0170205110a06c116a8e6.tar.xz
drm/nouveau: use post-decrement in error handling
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>
Diffstat (limited to 'drivers/mfd/smsc-ece1099.c')
0 files changed, 0 insertions, 0 deletions