From: Nick Desaulniers <ndesaulniers@google.com> To: Stefan Agner <stefan@agner.ch> Cc: Russell King <linux@armlinux.org.uk>, Nathan Chancellor <natechancellor@gmail.com>, Arnd Bergmann <arnd@arndb.de>, Ard Biesheuvel <ard.biesheuvel@linaro.org>, Nicolas Pitre <nicolas.pitre@linaro.org>, Thierry Reding <thierry.reding@gmail.com>, Will Deacon <will.deacon@arm.com>, julien.thierry@arm.com, Mark Rutland <mark.rutland@arm.com>, LKML <linux-kernel@vger.kernel.org>, Linux ARM <linux-arm-kernel@lists.infradead.org> Subject: Re: [PATCH 5/5] ARM: warn if divided syntax assembler is used Date: Thu, 7 Feb 2019 12:52:09 -0800 [thread overview] Message-ID: <CAKwvOd=j_xA-dTm098un2qRnzir-9FZNv3K=5vpNT7prgMpvbQ@mail.gmail.com> (raw) In-Reply-To: <c44f25a2d9e2f64fe41d910b09868c0f6ec3a3c9.1549532513.git.stefan@agner.ch> On Thu, Feb 7, 2019 at 1:46 AM Stefan Agner <stefan@agner.ch> wrote: > > Remove the -mno-warn-deprecated assembler flag to make sure the GNU > assembler warns in case non-unified syntax is used. > > Signed-off-by: Stefan Agner <stefan@agner.ch> Good idea, thanks for unifying the syntax. > --- > arch/arm/Makefile | 3 --- > 1 file changed, 3 deletions(-) > > diff --git a/arch/arm/Makefile b/arch/arm/Makefile > index a0d08a3c9d33..811498e16673 100644 > --- a/arch/arm/Makefile > +++ b/arch/arm/Makefile > @@ -112,9 +112,6 @@ ifeq ($(CONFIG_ARM_UNWIND),y) > CFLAGS_ABI +=-funwind-tables > endif > > -# Accept old syntax despite ".syntax unified" > -AFLAGS_NOWARN :=$(call as-option,-Wa$(comma)-mno-warn-deprecated,-Wa$(comma)-W) > - Shouldn't you also remove the references to the now gone AFLAGS_NOWARN on lines 120 AND 127? > ifeq ($(CONFIG_THUMB2_KERNEL),y) > AFLAGS_AUTOIT :=$(call as-option,-Wa$(comma)-mimplicit-it=always,-Wa$(comma)-mauto-it) > CFLAGS_ISA :=-mthumb $(AFLAGS_AUTOIT) $(AFLAGS_NOWARN) > -- > 2.20.1 > -- Thanks, ~Nick Desaulniers
WARNING: multiple messages have this Message-ID (diff)
From: Nick Desaulniers <ndesaulniers@google.com> To: Stefan Agner <stefan@agner.ch> Cc: Nicolas Pitre <nicolas.pitre@linaro.org>, Mark Rutland <mark.rutland@arm.com>, Arnd Bergmann <arnd@arndb.de>, Ard Biesheuvel <ard.biesheuvel@linaro.org>, julien.thierry@arm.com, Will Deacon <will.deacon@arm.com>, Russell King <linux@armlinux.org.uk>, LKML <linux-kernel@vger.kernel.org>, Thierry Reding <thierry.reding@gmail.com>, Nathan Chancellor <natechancellor@gmail.com>, Linux ARM <linux-arm-kernel@lists.infradead.org> Subject: Re: [PATCH 5/5] ARM: warn if divided syntax assembler is used Date: Thu, 7 Feb 2019 12:52:09 -0800 [thread overview] Message-ID: <CAKwvOd=j_xA-dTm098un2qRnzir-9FZNv3K=5vpNT7prgMpvbQ@mail.gmail.com> (raw) In-Reply-To: <c44f25a2d9e2f64fe41d910b09868c0f6ec3a3c9.1549532513.git.stefan@agner.ch> On Thu, Feb 7, 2019 at 1:46 AM Stefan Agner <stefan@agner.ch> wrote: > > Remove the -mno-warn-deprecated assembler flag to make sure the GNU > assembler warns in case non-unified syntax is used. > > Signed-off-by: Stefan Agner <stefan@agner.ch> Good idea, thanks for unifying the syntax. > --- > arch/arm/Makefile | 3 --- > 1 file changed, 3 deletions(-) > > diff --git a/arch/arm/Makefile b/arch/arm/Makefile > index a0d08a3c9d33..811498e16673 100644 > --- a/arch/arm/Makefile > +++ b/arch/arm/Makefile > @@ -112,9 +112,6 @@ ifeq ($(CONFIG_ARM_UNWIND),y) > CFLAGS_ABI +=-funwind-tables > endif > > -# Accept old syntax despite ".syntax unified" > -AFLAGS_NOWARN :=$(call as-option,-Wa$(comma)-mno-warn-deprecated,-Wa$(comma)-W) > - Shouldn't you also remove the references to the now gone AFLAGS_NOWARN on lines 120 AND 127? > ifeq ($(CONFIG_THUMB2_KERNEL),y) > AFLAGS_AUTOIT :=$(call as-option,-Wa$(comma)-mimplicit-it=always,-Wa$(comma)-mauto-it) > CFLAGS_ISA :=-mthumb $(AFLAGS_AUTOIT) $(AFLAGS_NOWARN) > -- > 2.20.1 > -- Thanks, ~Nick Desaulniers _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2019-02-07 20:52 UTC|newest] Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top 2019-02-07 9:48 [PATCH 0/5] ARM: convert to unified syntax Stefan Agner 2019-02-07 9:48 ` Stefan Agner 2019-02-07 9:48 ` [PATCH 1/5] ARM: use unified assembler in macros Stefan Agner 2019-02-07 9:48 ` Stefan Agner 2019-02-07 13:34 ` Ard Biesheuvel 2019-02-07 13:34 ` Ard Biesheuvel 2019-02-07 15:52 ` Nicolas Pitre 2019-02-07 15:52 ` Nicolas Pitre 2019-02-07 9:48 ` [PATCH 2/5] ARM: use unified assembler in headers Stefan Agner 2019-02-07 9:48 ` Stefan Agner 2019-02-07 16:10 ` Nicolas Pitre 2019-02-07 16:10 ` Nicolas Pitre 2019-02-09 22:54 ` Stefan Agner 2019-02-09 22:54 ` Stefan Agner 2019-02-07 9:48 ` [PATCH 3/5] ARM: use unified assembler in assembly files Stefan Agner 2019-02-07 9:48 ` Stefan Agner 2019-02-07 9:48 ` [PATCH 4/5] ARM: use unified assembler in c files Stefan Agner 2019-02-07 9:48 ` Stefan Agner 2019-02-09 17:28 ` Stefan Agner 2019-02-09 17:28 ` Stefan Agner 2019-02-11 18:17 ` Nick Desaulniers 2019-02-11 18:17 ` Nick Desaulniers 2019-02-12 19:26 ` Stefan Agner 2019-02-12 19:26 ` Stefan Agner 2019-02-07 9:48 ` [PATCH 5/5] ARM: warn if divided syntax assembler is used Stefan Agner 2019-02-07 9:48 ` Stefan Agner 2019-02-07 20:52 ` Nick Desaulniers [this message] 2019-02-07 20:52 ` Nick Desaulniers
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='CAKwvOd=j_xA-dTm098un2qRnzir-9FZNv3K=5vpNT7prgMpvbQ@mail.gmail.com' \ --to=ndesaulniers@google.com \ --cc=ard.biesheuvel@linaro.org \ --cc=arnd@arndb.de \ --cc=julien.thierry@arm.com \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-kernel@vger.kernel.org \ --cc=linux@armlinux.org.uk \ --cc=mark.rutland@arm.com \ --cc=natechancellor@gmail.com \ --cc=nicolas.pitre@linaro.org \ --cc=stefan@agner.ch \ --cc=thierry.reding@gmail.com \ --cc=will.deacon@arm.com \ /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: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.