]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mmc: fix the use of kunmap_atomic() in tmio_mmc.h
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Thu, 9 Sep 2010 23:37:43 +0000 (16:37 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 20 Sep 2010 20:36:35 +0000 (13:36 -0700)
commit77dc28848881926ba46e9b6bb9f64fb71d61bddc
treef16e3fec3d87466499152ecf400b23a32820bb79
parent99e2e17956364653157150b8304ee3565539338e
mmc: fix the use of kunmap_atomic() in tmio_mmc.h

commit 5600efb1bc2745d93ae0bc08130117a84f2b9d69 upstream.

kunmap_atomic() takes the cookie, returned by the kmap_atomic() as its
argument and not the page address, used as an argument to kmap_atomic().
This patch fixes the compile error:

In file included from drivers/mmc/host/tmio_mmc.c:37:
drivers/mmc/host/tmio_mmc.h: In function 'tmio_mmc_kunmap_atomic':
drivers/mmc/host/tmio_mmc.h:192: error: negative width in bit-field '<anonymous>'

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Acked-by: Eric Miao <eric.y.miao@gmail.com>
Tested-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/mmc/host/tmio_mmc.c
drivers/mmc/host/tmio_mmc.h