2018-07-11 19:59:29

by Constantine Shulyupin

[permalink] [raw]
Subject: [PATCH] scripts/tags.sh: add __ro_after_init

Signed-off-by: Constantine Shulyupin <[email protected]>
---
scripts/tags.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/tags.sh b/scripts/tags.sh
index 66f08bb1cce9..412a70cce558 100755
--- a/scripts/tags.sh
+++ b/scripts/tags.sh
@@ -245,7 +245,7 @@ exuberant()
{
setup_regex exuberant asm c
all_target_sources | xargs $1 -a \
- -I __initdata,__exitdata,__initconst, \
+ -I __initdata,__exitdata,__initconst,__ro_after_init \
-I __initdata_memblock \
-I __refdata,__attribute,__maybe_unused,__always_unused \
-I __acquires,__releases,__deprecated \
--
2.17.1



2018-07-12 15:06:44

by Masahiro Yamada

[permalink] [raw]
Subject: Re: [PATCH] scripts/tags.sh: add __ro_after_init

2018-07-12 3:36 GMT+09:00 Constantine Shulyupin <[email protected]>:
> Signed-off-by: Constantine Shulyupin <[email protected]>
> ---


Applied to linux-kbuild/fixes. Thanks!


> scripts/tags.sh | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/scripts/tags.sh b/scripts/tags.sh
> index 66f08bb1cce9..412a70cce558 100755
> --- a/scripts/tags.sh
> +++ b/scripts/tags.sh
> @@ -245,7 +245,7 @@ exuberant()
> {
> setup_regex exuberant asm c
> all_target_sources | xargs $1 -a \
> - -I __initdata,__exitdata,__initconst, \
> + -I __initdata,__exitdata,__initconst,__ro_after_init \
> -I __initdata_memblock \
> -I __refdata,__attribute,__maybe_unused,__always_unused \
> -I __acquires,__releases,__deprecated \
> --
> 2.17.1
>



--
Best Regards
Masahiro Yamada