linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Michael Neuling <mikey@neuling.org>
To: Sachin Sant <sachinp@in.ibm.com>
Cc: linuxppc-dev@ozlabs.org, Stephen Rothwell <sfr@canb.auug.org.au>,
	linux-next@vger.kernel.org, jk@ozlabs.org
Subject: Re: [Patch next] powerpc: pseries/dtl.c should include asm/firmware.h
Date: Thu, 02 Apr 2009 11:34:03 +1100	[thread overview]
Message-ID: <25834.1238632443@neuling.org> (raw)
In-Reply-To: <49D3419E.7000005@in.ibm.com>

> randconfig build on powerpc failed with :
> 
> 
> arch/powerpc/platforms/pseries/dtl.c: In function ‘dtl_init’:
> arch/powerpc/platforms/pseries/dtl.c:238: error: implicit declaration of func
tion ‘firmware_has_feature’
> arch/powerpc/platforms/pseries/dtl.c:238: error: ‘FW_FEATURE_SPLPAR’ undeclared
 (first use in this function)
> arch/powerpc/platforms/pseries/dtl.c:238: error: (Each undeclared identifier 
is reported only once
> arch/powerpc/platforms/pseries/dtl.c:238: error: for each function it appears
 in.)
> 
> Signed-off-by : Sachin Sant <sachinp@in.ibm.com>
> ---

It's great that you're sending patches to fix these issues but it's not
quite formatted as the maintainers like.

The patch needs to be included inline in the message, rather than as an
attachment.  You can see it as an attachment here:
  http://ozlabs.org/pipermail/linuxppc-dev/2009-April/070122.html
.. as opposed to the required inline format like this patch:
  http://ozlabs.org/pipermail/linuxppc-dev/2009-April/070120.html

Adding a diffstat would also be nice.

Mikey

> 
> 
> 
> --------------050404090408000502010008
> Content-Type: text/x-patch;
>  name="fix-dtl-build-break.patch"
> Content-Transfer-Encoding: 8bit
> Content-Disposition: inline;
>  filename="fix-dtl-build-break.patch"
> 
> * Fixes the following build error
> *
> * arch/powerpc/platforms/pseries/dtl.c: In function ‘dtl_init’:
> * arch/powerpc/platforms/pseries/dtl.c:238:
> *       error: implicit declaration of function ‘firmware_has_feature’
> * arch/powerpc/platforms/pseries/dtl.c:238:
> *       error: ‘FW_FEATURE_SPLPAR’ undeclared (first use in this function)
> * arch/powerpc/platforms/pseries/dtl.c:238:
> *        error: (Each undeclared identifier is reported only once
> * arch/powerpc/platforms/pseries/dtl.c:238: 
> *        error: for each function it appears in.)
> 
> Signed-off-by : Sachin Sant <sachinp@in.ibm.com>
> ---
> 
> diff -Naurp a/arch/powerpc/platforms/pseries/dtl.c b/arch/powerpc/platforms/p
series/dtl.c
> --- a/arch/powerpc/platforms/pseries/dtl.c	2009-04-01 15:46:59.000000000 +
0530
> +++ b/arch/powerpc/platforms/pseries/dtl.c	2009-04-01 15:47:58.000000000 +
0530
> @@ -25,6 +25,7 @@
>  #include <asm/smp.h>
>  #include <asm/system.h>
>  #include <asm/uaccess.h>
> +#include <asm/firmware.h>
>  
>  #include "plpar_wrappers.h"
>  
> 
> --------------050404090408000502010008
> Content-Type: text/plain; charset="us-ascii"
> MIME-Version: 1.0
> Content-Transfer-Encoding: 7bit
> Content-Disposition: inline
> 
> _______________________________________________
> Linuxppc-dev mailing list
> Linuxppc-dev@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-dev
> --------------050404090408000502010008--
> 

  reply	other threads:[~2009-04-02  0:34 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-01  5:44 linux-next: Tree for April 1 Stephen Rothwell
2009-04-01 10:27 ` [Patch next] powerpc: pseries/dtl.c should include asm/firmware.h Sachin Sant
2009-04-02  0:34   ` Michael Neuling [this message]
2009-04-02  5:31     ` Sachin Sant
2009-04-01 15:09 ` Invalid module format (was: Re: linux-next: Tree for April 1) Nico -telmich- Schottelius
2009-04-01 15:52   ` Gabriel C
2009-04-01 16:03     ` Nico -telmich- Schottelius
2009-04-02  1:32   ` Stephen Rothwell
2009-04-06 11:22     ` Invalid module format Gabriel C
2009-04-07  3:14       ` James Morris

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=25834.1238632443@neuling.org \
    --to=mikey@neuling.org \
    --cc=jk@ozlabs.org \
    --cc=linux-next@vger.kernel.org \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=sachinp@in.ibm.com \
    --cc=sfr@canb.auug.org.au \
    /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).