summaryrefslogtreecommitdiffstats
path: root/block/bsg-lib.c
diff options
context:
space:
mode:
authorAlex Elder <elder@linaro.org>2018-04-10 17:25:38 -0500
committerAndy Gross <andy.gross@linaro.org>2018-05-25 15:53:54 -0500
commite221a1da97d97a9b452f8be78bd14333bb5605aa (patch)
tree4b2085f139870c70f1774b1b5df215e8e81eb42a /block/bsg-lib.c
parent7070874973eeccd867628a5c9eaefee3e832ccaa (diff)
downloadlinux-e221a1da97d97a9b452f8be78bd14333bb5605aa.tar.bz2
soc: qcom: smem: return proper type for cached entry functions
What phdr_to_last_uncached_entry() returns is the address of the start of the free space following all allocated uncached entries. It really doesn't refer to an actual (initialized) private entry structure. Similarly phdr_to_last_cached_entry() returns the address of the end of free space, preceding the last allocated cache entry. Change both functions' return type to be pointer to void to reflect this. Meanwhile, phdr_to_first_cached_entry() really *does* point to a private entry structure, so change its return type to reflect this fact. Signed-off-by: Alex Elder <elder@linaro.org> Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org> Signed-off-by: Andy Gross <andy.gross@linaro.org>
Diffstat (limited to 'block/bsg-lib.c')
0 files changed, 0 insertions, 0 deletions