2008-02-13 21:43:55

by Adrian Bunk

[permalink] [raw]
Subject: [2.6 patch] make smackfs.c:smk_cipso_doi() static

smk_cipso_doi() can become static.

Signed-off-by: Adrian Bunk <[email protected]>

---

BTW: -ENOMAINTAINERSENTRY

299c2883384303ca7730df8fa4baae9194bd5d13 diff --git a/security/smack/smackfs.c b/security/smack/smackfs.c
index 15aa37f..13462ff 100644
--- a/security/smack/smackfs.c
+++ b/security/smack/smackfs.c
@@ -336,7 +336,7 @@ static const struct file_operations smk_load_ops = {
/**
* smk_cipso_doi - initialize the CIPSO domain
*/
-void smk_cipso_doi(void)
+static void smk_cipso_doi(void)
{
int rc;
struct cipso_v4_doi *doip;


2008-02-13 22:21:06

by Casey Schaufler

[permalink] [raw]
Subject: Re: [2.6 patch] make smackfs.c:smk_cipso_doi() static


--- Adrian Bunk <[email protected]> wrote:

> smk_cipso_doi() can become static.

This change is included in a patch I hope to submit today.

> Signed-off-by: Adrian Bunk <[email protected]>
>
> ---
>
> BTW: -ENOMAINTAINERSENTRY
>
> 299c2883384303ca7730df8fa4baae9194bd5d13 diff --git
> a/security/smack/smackfs.c b/security/smack/smackfs.c
> index 15aa37f..13462ff 100644
> --- a/security/smack/smackfs.c
> +++ b/security/smack/smackfs.c
> @@ -336,7 +336,7 @@ static const struct file_operations smk_load_ops = {
> /**
> * smk_cipso_doi - initialize the CIPSO domain
> */
> -void smk_cipso_doi(void)
> +static void smk_cipso_doi(void)
> {
> int rc;
> struct cipso_v4_doi *doip;
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
>
>


Casey Schaufler
[email protected]