diff options
author | Micky Ching <micky_ching@realsil.com.cn> | 2015-01-14 04:09:12 +0100 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2015-01-21 13:58:44 +0100 |
commit | be186ad5826ab6a06b585802dd5052d9674699ac (patch) | |
tree | a6a6736f50aed83038ee9e871a6dd685c32f598f /Documentation/dynamic-debug-howto.txt | |
parent | mmc: rtsx: finish request if no card exist (diff) | |
download | linux-be186ad5826ab6a06b585802dd5052d9674699ac.tar.xz linux-be186ad5826ab6a06b585802dd5052d9674699ac.zip |
mmc: rtsx: check sg_count before long data xfer
Check sg_count before sending long data xfer.
Because dma_map_sg() return int, and sg_count may be negative,
so using int instead of unsigned.
Signed-off-by: Micky Ching <micky_ching@realsil.com.cn>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'Documentation/dynamic-debug-howto.txt')
0 files changed, 0 insertions, 0 deletions