* [PATCH] password: don't export read_default_passwd()
@ 2020-05-20 6:46 Uwe Kleine-König
2020-05-20 11:22 ` Sascha Hauer
0 siblings, 1 reply; 2+ messages in thread
From: Uwe Kleine-König @ 2020-05-20 6:46 UTC (permalink / raw)
To: barebox
This function is used only in common/password.c itself, so it doesn't
need to be exported.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
common/password.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/common/password.c b/common/password.c
index a2a9c4cd6caf..e5a333d9b19e 100644
--- a/common/password.c
+++ b/common/password.c
@@ -179,7 +179,6 @@ static int read_default_passwd(unsigned char *sum, size_t length)
return 0;
}
-EXPORT_SYMBOL(read_default_passwd);
static int read_env_passwd(unsigned char *sum, size_t length)
{
--
2.26.2
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] password: don't export read_default_passwd()
2020-05-20 6:46 [PATCH] password: don't export read_default_passwd() Uwe Kleine-König
@ 2020-05-20 11:22 ` Sascha Hauer
0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2020-05-20 11:22 UTC (permalink / raw)
To: Uwe Kleine-König; +Cc: barebox
On Wed, May 20, 2020 at 08:46:44AM +0200, Uwe Kleine-König wrote:
> This function is used only in common/password.c itself, so it doesn't
> need to be exported.
>
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
> ---
> common/password.c | 1 -
> 1 file changed, 1 deletion(-)
Applied, thanks
Sascha
>
> diff --git a/common/password.c b/common/password.c
> index a2a9c4cd6caf..e5a333d9b19e 100644
> --- a/common/password.c
> +++ b/common/password.c
> @@ -179,7 +179,6 @@ static int read_default_passwd(unsigned char *sum, size_t length)
>
> return 0;
> }
> -EXPORT_SYMBOL(read_default_passwd);
>
> static int read_env_passwd(unsigned char *sum, size_t length)
> {
> --
> 2.26.2
>
>
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-05-20 11:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-20 6:46 [PATCH] password: don't export read_default_passwd() Uwe Kleine-König
2020-05-20 11:22 ` Sascha Hauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox