summaryrefslogtreecommitdiff
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorZhen Kong <zkong@codeaurora.org>2017-02-07 17:15:54 -0800
committerZhen Kong <zkong@codeaurora.org>2017-03-07 15:29:38 -0800
commitc83a067a9a82010e5b1b7685ca9720e9c27a52a7 (patch)
tree37a9bd84bd8bdb4f162a44d1c751a1756c50fb41 /fs/btrfs/dev-replace.c
parent59a631bcacba622a294d0c9e9e54ac9161413950 (diff)
qseecom: return app_id correctly when looking up and loading app
When __qseecom_check_app_exsits() and __qseecom_load_fw() get app_id from TZ, they save it to function's return value then return back. But "app_id" is of type uint32, "ret" is int32, this will return incorrect app_id to the caller if app_id is larger than 0x7FFFFFFF. Thus make change to return app_id correctly. Change-Id: I2ef98d64490c480d5416ee24ec6ca9aca9c8ca8a Signed-off-by: Zhen Kong <zkong@codeaurora.org>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions