Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp3030411imj; Mon, 11 Feb 2019 12:36:08 -0800 (PST) X-Google-Smtp-Source: AHgI3IYMtkZiBO6p5zvpX53I6hbzROeFxDzvuqWERP8HD+WEVY7iDAlT1pRPJyWC1RNRISh8RMy8 X-Received: by 2002:a63:5109:: with SMTP id f9mr79442pgb.450.1549917368762; Mon, 11 Feb 2019 12:36:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549917368; cv=none; d=google.com; s=arc-20160816; b=UvhG2dIHg0g9i5W0jB8sxVEyQDO/2UxexN6AjPrzdpzjYoC8qjOLu3CxQgPf4Ja2r2 5c7T3m+0tnb6ccBTi1rhMXDWPNA4IBPwKkzBPBM7KgM/muKIMmuP1pbM2qng9uevFPZw Jsi0J+pNYDikJs/CJP3suvg2xkZhVIn1fyLvNcpZU/HNHLEGLlbI20Q2x2vC6OHpZ3bE Ko8dnpKWImwiAOLdj1Q9jUZ5pFdiThBkUV0mpbHvYgkQiVLb2tGusjAtZ/DKk6UWOjyW th2g/+3Vdb5rAbEs5iYxvu0kLhrwyX7hYVKyR0dqZXxY+Qrfj2pvnZHcGow3O/6HzMbk TkvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=VN9lMObigACayjQrnw+MxyNXVTrGHWEO023JUJZyDtw=; b=PE3niupt0jp11LVs2SHCdcKNkynElAXfTI6A4AJPKNF1RRauttaL0IWJFNArz0l1Tc DGL7WSFiec3S6BE54CKTBk6Ba5NJwJr6ACM5XTgBiaFJtdE7jIvw5VUfV3aL4+e5VTbK s37bm75mWa99gK8/pGpZF0iON3vMwxe+AdbC5dHn/utVj/fgCXo9a3a3EjXol0jovX3w 8uvIDoJ5IwmYbsFLHA3iM3Gq4cf0R1yL3wIlhBqjmhTN8uyV6lMv7tBem2HyWyJnrVVB 3zDhYpU+kXAFCtPnPM0A14/dq6+0eVn0fB2XURWYFY75722gc44sSzG9ETcHB4/j1z+4 Jf2A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=Y5mJE4Hl; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i38si489371pgm.140.2019.02.11.12.35.53; Mon, 11 Feb 2019 12:36:08 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=Y5mJE4Hl; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731067AbfBKSDS (ORCPT + 99 others); Mon, 11 Feb 2019 13:03:18 -0500 Received: from mail-pg1-f196.google.com ([209.85.215.196]:34540 "EHLO mail-pg1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727896AbfBKSDS (ORCPT ); Mon, 11 Feb 2019 13:03:18 -0500 Received: by mail-pg1-f196.google.com with SMTP id d9so5303827pgl.1 for ; Mon, 11 Feb 2019 10:03:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=VN9lMObigACayjQrnw+MxyNXVTrGHWEO023JUJZyDtw=; b=Y5mJE4Hlvmlo7ZrYp9pIIKiVimHuvDGDVYBEhL/mpTIvBlW9tNh1OwsvsKWUlkjUs3 IhUkbPeEVsiO0oUrIVrysnrn/w0zqh5DkNSCeBBwkZygEkivT29VQpGWsHT+pYLmcX7T 7UhxY5Du61zbL5Wpkea5Sa+VUexIe5qpS12wC9fJLq8Lz2B164Fm+Hs9LSR9zbw9XDVD 51A+n2MJ8CW8uZxo0oFXwNB4yi+OpK1RJWLtxRxG074VYzSyoGj+63IoT82/S45hD3IG hoPQcuiaemqiHngdl0OuthYWoGeAsc9gNFlft499bmKBHnq43fqKS5LkSM6GFyDW++r6 YR6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=VN9lMObigACayjQrnw+MxyNXVTrGHWEO023JUJZyDtw=; b=eF/RqeuQ4PL4OR5xGZQuOQm+PCF1Tz5298OqvDpe6qBtGUxEE3ARr9un2FipywzFBY BZrM/5Ogx6sakDxzeG5oix4f+/5Vg92MI59TVIVwfldj61ezMLHXCUEblQZhzJ7aBbwb HoyhlWY3AQZ+40VU6NTUiVLwdA32Lk3IrBo05ijja1lz2+WOZtA7h4IvUhZLuqTIZtl8 MRtBVVwV/dG06Q3ImS5pfjgxAnusE+HfEKVBg+nuwvDHcWS0PKRVd/fpJMcsxXxuxwYs noGbBJ+JifRtIIww7ky/6GxJ80V1rWQQ+sNcfEyk35S4gTDHFOS1kRj5uHc7MNpQDMko rDuA== X-Gm-Message-State: AHQUAuaisrza8wt9Pku6RaII7PzqyaV2IRAtezwNMlhcHhzt91HbP0wt DupSy8K2KP4/IwARt+Hd706Fs0g4NxmndcRYORjwBQ== X-Received: by 2002:a62:2c81:: with SMTP id s123mr37497384pfs.174.1549908196720; Mon, 11 Feb 2019 10:03:16 -0800 (PST) MIME-Version: 1.0 References: <668a4c10c2731ddb572e8ddd3f0816904436d7ae.1549753425.git.stefan@agner.ch> In-Reply-To: <668a4c10c2731ddb572e8ddd3f0816904436d7ae.1549753425.git.stefan@agner.ch> From: Nick Desaulniers Date: Mon, 11 Feb 2019 10:03:05 -0800 Message-ID: Subject: Re: [PATCH v2 5/5] ARM: warn if divided syntax assembler is used To: Stefan Agner Cc: Russell King , Nathan Chancellor , Arnd Bergmann , Ard Biesheuvel , Nicolas Pitre , Thierry Reding , Will Deacon , julien.thierry@arm.com, Mark Rutland , LKML , Linux ARM Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Feb 9, 2019 at 3:09 PM Stefan Agner 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 > --- > Changes in v2: > - Remove AFLAGS_NOWARN from CFLAGS_ISA Thanks for making this requested change. Reviewed-by: Nick Desaulniers > > arch/arm/Makefile | 7 ++----- > 1 file changed, 2 insertions(+), 5 deletions(-) > > diff --git a/arch/arm/Makefile b/arch/arm/Makefile > index a0d08a3c9d33..9561325c5201 100644 > --- a/arch/arm/Makefile > +++ b/arch/arm/Makefile > @@ -112,19 +112,16 @@ 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) > - > 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) > +CFLAGS_ISA :=-mthumb $(AFLAGS_AUTOIT) > AFLAGS_ISA :=$(CFLAGS_ISA) -Wa$(comma)-mthumb > # Work around buggy relocation from gas if requested: > ifeq ($(CONFIG_THUMB2_AVOID_R_ARM_THM_JUMP11),y) > KBUILD_CFLAGS_MODULE +=-fno-optimize-sibling-calls > endif > else > -CFLAGS_ISA :=$(call cc-option,-marm,) $(AFLAGS_NOWARN) > +CFLAGS_ISA :=$(call cc-option,-marm,) > AFLAGS_ISA :=$(CFLAGS_ISA) > endif > > -- > 2.20.1 > -- Thanks, ~Nick Desaulniers