diff options
author | Raju P.L.S.S.S.N <rplsssn@codeaurora.org> | 2018-07-19 12:43:02 +0530 |
---|---|---|
committer | Andy Gross <andy.gross@linaro.org> | 2018-07-21 13:43:38 -0500 |
commit | efa1c257b3fc7ef2a1db604b260784cc8bcdfd23 (patch) | |
tree | 5a099bf043a83d54456737477c64157bf4767a04 /fs/btrfs/dev-replace.c | |
parent | a0b1561f846191a1967e8f5a26d8ef59c1b9162a (diff) |
drivers: qcom: rpmh-rsc: fix the loop index check in get_req_from_tcs
get_req_from_tcs introduced in patch[1] returns tcs_request from
tcs_group. The size of tcs (of type - tcs_group) array in rsc_drv is
TCS_TYPE_NR. So the loop index needs to be iterated up to TCS_TYPE_NR only.
[1] https://patchwork.kernel.org/patch/10477547/
Signed-off-by: Raju P.L.S.S.S.N <rplsssn@codeaurora.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions