OSDN Git Service

arm: dma-mapping: fix data types to hold size_t
authorShiraz Hashim <shashim@codeaurora.org>
Sun, 21 Feb 2016 07:15:34 +0000 (12:45 +0530)
committerKyle Yan <kyan@codeaurora.org>
Wed, 1 Jun 2016 22:25:54 +0000 (15:25 -0700)
commit9735edbe890b6f09dc74438b81beb37650eaddba
tree198f43ffc33885df6e3b866432542ff294b69642
parent17505518150ff93d4b29380aa201d98abc707c37
arm: dma-mapping: fix data types to hold size_t

size_t type data should not be held under variable of type
int, as this can truncate large values especially on a
64bit system. Fix it.

Change-Id: I5ad1ab321738772a99920e3fa287bda266cb05ed
Signed-off-by: Shiraz Hashim <shashim@codeaurora.org>
arch/arm/mm/dma-mapping.c
arch/arm64/mm/dma-mapping.c