All of lore.kernel.org
 help / color / mirror / Atom feed
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Cc: netdev@vger.kernel.org, Andrew Morton <akpm@linux-foundation.org>,
	Jeff Garzik <jgarzik@pobox.com>,
	linux-kernel@vger.kernel.org, linuxppc-dev@ozlabs.org
Subject: Re: [PATCH] ibm_newemac: Fix new MAL feature handling
Date: Tue, 21 Oct 2008 10:43:41 +1100	[thread overview]
Message-ID: <1224546221.7654.196.camel@pasglop> (raw)
In-Reply-To: <20081016143840.GA29805@yoda.jdub.homelinux.org>

On Thu, 2008-10-16 at 10:38 -0400, Josh Boyer wrote:
> On Thu, Oct 16, 2008 at 03:56:50PM +1100, Benjamin Herrenschmidt wrote:
> >> drivers/net/ibm_newemac/mal.c: In function 'mal_txeob':
> >> drivers/net/ibm_newemac/mal.c:284: error: implicit declaration of function 'mtdcri'
> >> drivers/net/ibm_newemac/mal.c:284: error: 'SDR0' undeclared (first use in this function)
> >> drivers/net/ibm_newemac/mal.c:284: error: (Each undeclared identifier is reported only once
> >> drivers/net/ibm_newemac/mal.c:284: error: for each function it appears in.)
> >> drivers/net/ibm_newemac/mal.c:285: error: implicit declaration of function 'mfdcri'
> >> drivers/net/ibm_newemac/mal.c: In function 'mal_rxeob':
> >> drivers/net/ibm_newemac/mal.c:302: error: 'SDR0' undeclared (first use in this function)
> >
> >That's annoying, I'll have a look.
> 
> Support for new features needed by the PPC 405EZ boards
> introduced some errors in the MAL and EMAC feature handling.
> This broke 'allmodconfig' builds as CONFIG_PPC_DCR_NATIVE is
> not set for those.
> 
> This patch fixes these errors by wrapping the code in the
> appropriate #ifdefs.
> 
> Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>

Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
---

Jeff, this breaks build, I'll put it in powerpc.git for a merge today,

Cheers,
Ben.

WARNING: multiple messages have this Message-ID (diff)
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Cc: Andrew Morton <akpm@linux-foundation.org>,
	netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
	linuxppc-dev@ozlabs.org, Jeff Garzik <jgarzik@pobox.com>
Subject: Re: [PATCH] ibm_newemac: Fix new MAL feature handling
Date: Tue, 21 Oct 2008 10:43:41 +1100	[thread overview]
Message-ID: <1224546221.7654.196.camel@pasglop> (raw)
In-Reply-To: <20081016143840.GA29805@yoda.jdub.homelinux.org>

On Thu, 2008-10-16 at 10:38 -0400, Josh Boyer wrote:
> On Thu, Oct 16, 2008 at 03:56:50PM +1100, Benjamin Herrenschmidt wrote:
> >> drivers/net/ibm_newemac/mal.c: In function 'mal_txeob':
> >> drivers/net/ibm_newemac/mal.c:284: error: implicit declaration of function 'mtdcri'
> >> drivers/net/ibm_newemac/mal.c:284: error: 'SDR0' undeclared (first use in this function)
> >> drivers/net/ibm_newemac/mal.c:284: error: (Each undeclared identifier is reported only once
> >> drivers/net/ibm_newemac/mal.c:284: error: for each function it appears in.)
> >> drivers/net/ibm_newemac/mal.c:285: error: implicit declaration of function 'mfdcri'
> >> drivers/net/ibm_newemac/mal.c: In function 'mal_rxeob':
> >> drivers/net/ibm_newemac/mal.c:302: error: 'SDR0' undeclared (first use in this function)
> >
> >That's annoying, I'll have a look.
> 
> Support for new features needed by the PPC 405EZ boards
> introduced some errors in the MAL and EMAC feature handling.
> This broke 'allmodconfig' builds as CONFIG_PPC_DCR_NATIVE is
> not set for those.
> 
> This patch fixes these errors by wrapping the code in the
> appropriate #ifdefs.
> 
> Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>

Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
---

Jeff, this breaks build, I'll put it in powerpc.git for a merge today,

Cheers,
Ben.



  parent reply	other threads:[~2008-10-20 23:43 UTC|newest]

Thread overview: 69+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-16  4:33 powerpc allmodconfig Andrew Morton
2008-10-16  4:33 ` Andrew Morton
2008-10-16  4:33 ` Andrew Morton
2008-10-16  4:33 ` Andrew Morton
2008-10-16  4:56 ` Benjamin Herrenschmidt
2008-10-16  4:56   ` Benjamin Herrenschmidt
2008-10-16 14:38   ` [PATCH] ibm_newemac: Fix new MAL feature handling Josh Boyer
2008-10-16 14:38     ` Josh Boyer
2008-10-17 12:56     ` Arnd Bergmann
2008-10-17 12:56       ` Arnd Bergmann
2008-10-17 13:09       ` Josh Boyer
2008-10-17 13:09         ` Josh Boyer
2008-10-20 23:43     ` Benjamin Herrenschmidt [this message]
2008-10-20 23:43       ` Benjamin Herrenschmidt
2008-10-21  5:17       ` Jeff Garzik
2008-10-21  5:17         ` Jeff Garzik
2008-10-16  5:02 ` powerpc allmodconfig David Miller
2008-10-16  5:02   ` David Miller
2008-10-16  6:08   ` Dan Williams
2008-10-16  6:08     ` Dan Williams
2008-10-16  6:55     ` Brice Goglin
2008-10-16  6:55       ` Brice Goglin
2008-10-16  6:58       ` David Miller
2008-10-16  6:58         ` David Miller
2008-10-16 16:22         ` Jesse Brandeburg
2008-10-16 16:22           ` Jesse Brandeburg
2008-10-16  7:31   ` Geert Uytterhoeven
2008-10-16  7:31     ` Geert Uytterhoeven
2008-10-16  7:36     ` David Miller
2008-10-16  7:36       ` David Miller
2008-10-16  7:58       ` Geert Uytterhoeven
2008-10-16  7:58         ` Geert Uytterhoeven
2008-10-16  7:53   ` Andreas Schwab
2008-10-16  7:53     ` Andreas Schwab
     [not found]   ` <20081015.220247.262683261.davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org>
2008-10-16  5:21     ` Benjamin Herrenschmidt
2008-10-16  5:21       ` Benjamin Herrenschmidt
2008-10-16  5:21       ` Benjamin Herrenschmidt
2008-10-16 14:57     ` Johannes Berg
2008-10-16 14:57       ` Johannes Berg
2008-10-16 14:57       ` Johannes Berg
     [not found]       ` <1224169039.735.57.camel-YfaajirXv214zXjbi5bjpg@public.gmane.org>
2008-10-16 19:49         ` David Miller
2008-10-16 19:49           ` David Miller
2008-10-16 19:49           ` David Miller
2008-10-16 20:02           ` Arjan van de Ven
2008-10-16 20:02             ` Arjan van de Ven
2008-10-18 12:20             ` Johannes Berg
2008-10-18 12:20               ` Johannes Berg
2008-10-17 11:09   ` Ingo Molnar
2008-10-17 11:09     ` Ingo Molnar
2008-10-17 11:09     ` Ingo Molnar
2008-10-17 11:09     ` Ingo Molnar
2008-10-16  5:57 ` Takashi Iwai
2008-10-16  5:57   ` Takashi Iwai
2008-10-16  7:38   ` Adrian Bunk
2008-10-16  7:38     ` Adrian Bunk
2008-10-16  7:57     ` Takashi Iwai
2008-10-16  7:57       ` Takashi Iwai
2008-10-16  8:21       ` Adrian Bunk
2008-10-16  8:21         ` Adrian Bunk
     [not found]         ` <20081016082157.GC23630-re2QNgSbS3j4D6uPqz5PAwR5/fbUUdgG@public.gmane.org>
2008-10-16  8:43           ` Takashi Iwai
2008-10-16  8:43             ` Takashi Iwai
2008-10-16  8:43             ` Takashi Iwai
     [not found]             ` <s5hod1lorpm.wl%tiwai-l3A5Bk7waGM@public.gmane.org>
2008-10-16 10:03               ` Adrian Bunk
2008-10-16 10:03                 ` Adrian Bunk
2008-10-16 10:03                 ` Adrian Bunk
2008-10-16  9:34 ` Mark Brown
2008-10-16  9:34   ` Mark Brown
2008-10-16 10:21 ` Sergei Shtylyov
2008-10-16 17:30   ` Atsushi Nemoto

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=1224546221.7654.196.camel@pasglop \
    --to=benh@kernel.crashing.org \
    --cc=akpm@linux-foundation.org \
    --cc=jgarzik@pobox.com \
    --cc=jwboyer@linux.vnet.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=netdev@vger.kernel.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.