soc: qcom: remoteqdss: Fix build error on 32bit
__builtin_return_address(1) results in build error on
32bit.
drivers/soc/qcom/remoteqdss.c:
In function 'remoteqdss_do_scm_call':
drivers/soc/qcom/remoteqdss.c:113:363:
warning: unsupported argument to '__builtin_return_address'
error, forbidden warning: remoteqdss.c:113
Fix this by using __builtin_return_address(0) and passing
the caller information down to functions where it is used.
Change-Id: I535ec77009a73f6ea95e4060177ca7b8e6a2c8d1
Signed-off-by:
Shiraz Hashim <shashim@codeaurora.org>
Loading
Please register or sign in to comment