mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Ahmad Fatoum <ahmad@a3f.at>
To: barebox@lists.infradead.org
Subject: [PATCH 3/5] commands: psci: make locally-used function static
Date: Fri, 15 Nov 2019 08:52:55 +0100	[thread overview]
Message-ID: <20191115075257.24079-3-ahmad@a3f.at> (raw)
In-Reply-To: <20191115075257.24079-1-ahmad@a3f.at>

Fixes a warning that the function is global, but without prototype.
No functional change.

Signed-off-by: Ahmad Fatoum <ahmad@a3f.at>
---
 commands/smc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/commands/smc.c b/commands/smc.c
index 67ca4ee9022f..eb96e581dc02 100644
--- a/commands/smc.c
+++ b/commands/smc.c
@@ -8,7 +8,7 @@
 #include <asm/secure.h>
 #include <linux/arm-smccc.h>
 
-void second_entry(void)
+static void second_entry(void)
 {
 	struct arm_smccc_res res;
 
-- 
2.20.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  parent reply	other threads:[~2019-11-15  7:53 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-15  7:52 [PATCH 1/5] ARM: psci: factor out smc command into commands/ Ahmad Fatoum
2019-11-15  7:52 ` [PATCH 2/5] ARM: psci: properly wire in command help Ahmad Fatoum
2019-11-15  7:52 ` Ahmad Fatoum [this message]
2019-11-15  7:52 ` [PATCH 4/5] commands: smc: verify PSCI_POWER_ON with interprocessor handshake Ahmad Fatoum
2019-11-15  7:52 ` [PATCH 5/5] commands: smc: make command usable when ARM_PSCI is undefined Ahmad Fatoum
2019-11-19 10:58 ` [PATCH 1/5] ARM: psci: factor out smc command into commands/ Sascha Hauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191115075257.24079-3-ahmad@a3f.at \
    --to=ahmad@a3f.at \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox