linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: will.deacon@arm.com (Will Deacon)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] arm64: Provide a namespace to NCAPS
Date: Thu, 4 Dec 2014 09:58:06 +0000	[thread overview]
Message-ID: <20141204095806.GD13224@arm.com> (raw)
In-Reply-To: <1417655821-22892-1-git-send-email-festevam@gmail.com>

On Thu, Dec 04, 2014 at 01:17:01AM +0000, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam@freescale.com>
> 
> Building arm64.allmodconfig leads to the following warning:
> 
> usb/gadget/function/f_ncm.c:203:0: warning: "NCAPS" redefined
>  #define NCAPS (USB_CDC_NCM_NCAP_ETH_FILTER | USB_CDC_NCM_NCAP_CRC_MODE)
>  ^
> In file included from /home/build/work/batch/arch/arm64/include/asm/io.h:32:0,
>                  from /home/build/work/batch/include/linux/clocksource.h:19,
>                  from /home/build/work/batch/include/clocksource/arm_arch_timer.h:19,
>                  from /home/build/work/batch/arch/arm64/include/asm/arch_timer.h:27,
>                  from /home/build/work/batch/arch/arm64/include/asm/timex.h:19,
>                  from /home/build/work/batch/include/linux/timex.h:65,
>                  from /home/build/work/batch/include/linux/sched.h:19,
>                  from /home/build/work/batch/arch/arm64/include/asm/compat.h:25,
>                  from /home/build/work/batch/arch/arm64/include/asm/stat.h:23,
>                  from /home/build/work/batch/include/linux/stat.h:5,
>                  from /home/build/work/batch/include/linux/module.h:10,
>                  from /home/build/work/batch/drivers/usb/gadget/function/f_ncm.c:19:
> arch/arm64/include/asm/cpufeature.h:27:0: note: this is the location of the previous definition
>  #define NCAPS     2
> 
> So add a ARM64 prefix to avoid such problem.

Thanks, applied.

Will

      reply	other threads:[~2014-12-04  9:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-04  1:17 [PATCH] arm64: Provide a namespace to NCAPS Fabio Estevam
2014-12-04  9:58 ` Will Deacon [this message]

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=20141204095806.GD13224@arm.com \
    --to=will.deacon@arm.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /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: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).