Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8ecaa617 authored by Shiraz Hashim's avatar Shiraz Hashim
Browse files

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: default avatarShiraz Hashim <shashim@codeaurora.org>
parent 11d6060f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment