linux/drivers/staging/rts5208
Fabio M. De Francesco 18ce31aa63 staging: rts5208: Convert kmap() to kmap_local_page()
The use of kmap() is being deprecated in favor of kmap_local_page()
where it is feasible.

With kmap_local_page(), the mapping is per thread, CPU local and not
globally visible. Therefore rtsx_stor_access_xfer_buf() is a function
where the use of kmap_local_page() in place of kmap() is correctly
suited.

Convert to kmap_local_page() but, instead of open coding it, use the
helpers memcpy_to_page() and memcpy_from_page().

Make a minor change to a comment related to scatter-gather.

Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Fabio M. De Francesco <fmdefrancesco@gmail.com>
Link: https://lore.kernel.org/r/20220330143331.8306-1-fmdefrancesco@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-04-04 07:33:47 +02:00
..
general.c
general.h
Kconfig
Makefile staging: rts5208: remove unneeded header include path 2020-01-10 10:58:30 +01:00
ms.c staging: rts5208: fix Lines should not end with a '('. 2022-03-02 16:34:24 +01:00
ms.h
rtsx_card.c staging: rts5208: remove unnecessary parentheses in rtsx_card.c 2021-09-21 17:30:55 +02:00
rtsx_card.h
rtsx_chip.c staging: rts5208: remove unnecessary parentheses in rtsx_chip.c 2021-09-21 17:30:55 +02:00
rtsx_chip.h
rtsx_scsi.c staging: rts5208: remove unnecessary parentheses in rtsx_scsi.c 2021-09-21 17:30:55 +02:00
rtsx_scsi.h
rtsx_sys.h
rtsx_transport.c staging: rts5208: Convert kmap() to kmap_local_page() 2022-04-04 07:33:47 +02:00
rtsx_transport.h
rtsx.c staging: rts5208: Resolve checkpatch.pl issues. 2022-03-18 13:44:02 +01:00
rtsx.h
sd.c staging: rts5208: remove parentheses pair in sd.c 2021-09-21 17:30:55 +02:00
sd.h staging: rts5208: Eliminate the use of Camel Case in file sd.h 2019-11-01 10:55:10 +01:00
spi.c
spi.h
TODO
xd.c staging: rts5208: remove unnecessary parentheses in xd.c 2021-09-21 17:30:55 +02:00
xd.h staging: rts5208: Eliminate the use of Camel Case in files xd.{h, c} 2019-11-01 10:55:09 +01:00