aboutsummaryrefslogtreecommitdiff
path: root/services/spd/trusty/trusty.c
diff options
context:
space:
mode:
authorSandrine Bailleux <sandrine.bailleux@arm.com>2016-11-23 10:53:07 +0000
committerSandrine Bailleux <sandrine.bailleux@arm.com>2016-11-23 16:37:42 +0000
commit48c1c39fef53b05d2e73a095b56616a4fc915b65 (patch)
tree5920366479f1c8eee547c38583976765569a26de /services/spd/trusty/trusty.c
parent696f41ec98c18a9d747acc8dac32f2aabce18ea8 (diff)
downloadtrusted-firmware-a-48c1c39fef53b05d2e73a095b56616a4fc915b65.tar.gz
Fix a coding style issue in trusty.c
This patch fixes the following coding style error reported by the checkpatch.pl script: Bad function definition - void el3_exit() should probably be void el3_exit(void) There is another one but it's a false positive so there's no point in fixing it: space prohibited after that '&' (ctx:WxW) +#define SMC_NR(entity, fn, fastcall, smc64) ((((fastcall) & 0x1) << 31) | \ ^ Change-Id: I34de0337c7216dabd16395879f13845a60ee6df0 Signed-off-by: Sandrine Bailleux <sandrine.bailleux@arm.com>
Diffstat (limited to 'services/spd/trusty/trusty.c')
-rw-r--r--services/spd/trusty/trusty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/spd/trusty/trusty.c b/services/spd/trusty/trusty.c
index 7e8526d26e..4c688caa1c 100644
--- a/services/spd/trusty/trusty.c
+++ b/services/spd/trusty/trusty.c
@@ -229,7 +229,7 @@ static uint64_t trusty_smc_handler(uint32_t smc_fid,
static int32_t trusty_init(void)
{
- void el3_exit();
+ void el3_exit(void);
entry_point_info_t *ep_info;
struct trusty_cpu_ctx *ctx = get_trusty_ctx();
uint32_t cpu = plat_my_core_pos();