All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arend van Spriel <arend@broadcom.com>
To: Jonas Gorski <jogo@openwrt.org>
Cc: "linux-mips@linux-mips.org" <linux-mips@linux-mips.org>,
	LKML <linux-kernel@vger.kernel.org>,
	brcm80211 development <brcm80211-dev-list@broadcom.com>,
	"Maciej W. Rozycki" <macro@linux-mips.org>,
	Ralf Baechle <ralf@linux-mips.org>
Subject: Re: 4.1-rc2: build issue with duplicate redefinition of _PAGE_GLOBAL_SHIFT
Date: Wed, 13 May 2015 23:56:00 +0200	[thread overview]
Message-ID: <5553C870.5070407@broadcom.com> (raw)
In-Reply-To: <CAOiHx==e0MTorbgAgmL13nT=5ChW2OnFB7RKxenjaRZbnzS1-A@mail.gmail.com>

On 05/13/15 21:19, Jonas Gorski wrote:
> Hi Arend,
>
> On Wed, May 13, 2015 at 8:43 PM, Arend van Spriel<arend@broadcom.com>  wrote:
>> For our upstream brcm80211 drivers we build for a number of architectures
>> including MIPS. In recent builds we get an error/warning:
>>
>>    CC [M]  drivers/net/wireless/brcm80211/brcmfmac/cfg80211.o
>> In file included from ./arch/mips/include/asm/io.h:27:0,
>>                   from ./arch/mips/include/asm/page.h:176,
>>                   from include/linux/mm_types.h:15,
>>                   from include/linux/kmemcheck.h:4,
>>                   from include/linux/skbuff.h:18,
>>                   from include/linux/if_ether.h:23,
>>                   from include/linux/etherdevice.h:25,
>>                   from drivers/net/wireless/brcm80211/brcmfmac/cfg80211.c:20:
>> ./arch/mips/include/asm/pgtable-bits.h:164:0: error: "_PAGE_GLOBAL_SHIFT"
>> redefined [-Werror]
>> ./arch/mips/include/asm/pgtable-bits.h:141:0: note: this is the location of
>> the previous definition
>>
>> As it is likely a Kconfig issue I have attached the config file that was
>> used for the build. I started out with mips_config.old and ran 'make
>> oldconfig' and just hit enter a couple of times selecting all defaults which
>> ends up with the mips_config file having the issue. As I have no clue what
>> Kconfig combinations are valid I am hoping anyone on the mips list can shed
>> some light on this.
>
> this isn't a config issue, it's a clear bug which
>
> https://patchwork.linux-mips.org/patch/9960/
>
> intends to fix.

Excellent. Thanks, Jonas.

Regards,
Arend

      reply	other threads:[~2015-05-13 21:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-13 18:43 4.1-rc2: build issue with duplicate redefinition of _PAGE_GLOBAL_SHIFT Arend van Spriel
2015-05-13 19:19 ` Jonas Gorski
2015-05-13 21:56   ` Arend van Spriel [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=5553C870.5070407@broadcom.com \
    --to=arend@broadcom.com \
    --cc=brcm80211-dev-list@broadcom.com \
    --cc=jogo@openwrt.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mips@linux-mips.org \
    --cc=macro@linux-mips.org \
    --cc=ralf@linux-mips.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 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.