diff mbox

parse.c: remove duplicate 'may_alias' ignored_attributes

Message ID 53DFE6A5.2070903@ramsay1.demon.co.uk (mailing list archive)
State Superseded, archived
Headers show

Commit Message

Ramsay Jones Aug. 4, 2014, 8:01 p.m. UTC
Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
---

Hi Chris,

I noticed this recently when rebasing an old branch, but forgot
to write a patch.

ATB,
Ramsay Jones

 parse.c | 2 --
 1 file changed, 2 deletions(-)

Comments

Josh Triplett Aug. 5, 2014, 4:43 p.m. UTC | #1
On Mon, Aug 04, 2014 at 09:01:41PM +0100, Ramsay Jones wrote:
> Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>

Reviewed-by: Josh Triplett <josh@joshtriplett.org>

Ironic attribute to duplicate.  Apparently may_alias may alias.

> Hi Chris,
> 
> I noticed this recently when rebasing an old branch, but forgot
> to write a patch.
> 
> ATB,
> Ramsay Jones
> 
>  parse.c | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/parse.c b/parse.c
> index 69bcf82..471fb31 100644
> --- a/parse.c
> +++ b/parse.c
> @@ -548,8 +548,6 @@ const char *ignored_attributes[] = {
>  	"__l1_data__",
>  	"l2",
>  	"__l2__",
> -	"may_alias",
> -	"__may_alias__",
>  	"malloc",
>  	"__malloc__",
>  	"may_alias",
> -- 
> 2.0.0
> --
> To unsubscribe from this list: send the line "unsubscribe linux-sparse" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-sparse" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/parse.c b/parse.c
index 69bcf82..471fb31 100644
--- a/parse.c
+++ b/parse.c
@@ -548,8 +548,6 @@  const char *ignored_attributes[] = {
 	"__l1_data__",
 	"l2",
 	"__l2__",
-	"may_alias",
-	"__may_alias__",
 	"malloc",
 	"__malloc__",
 	"may_alias",