public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: jdi@l4x.org
Cc: linux-kernel@vger.kernel.org, michal.k.k.piotrowski@gmail.com,
	wli@holomorphy.com, chris@zankel.net, rth@twiddle.net
Subject: Re: 2.6.23-rc2 cross compile regressions (alpha,sparc,xtensa)
Date: Mon, 06 Aug 2007 00:34:41 -0700 (PDT)	[thread overview]
Message-ID: <20070806.003441.41635922.davem@davemloft.net> (raw)
In-Reply-To: <46B6CE6B.7010808@l4x.org>

From: Jan Dittmer <jdi@l4x.org>
Date: Mon, 06 Aug 2007 09:31:55 +0200

> sparc/defconfig:
>   CC      init/main.o
> In file included from include/linux/proc_fs.h:5,
>                  from init/main.c:14:
> include/linux/fs.h:848: warning: `struct flock' declared inside parameter list
> include/linux/fs.h:848: warning: its scope is only this definition or declaration, which is probably not what you want
> include/linux/fs.h:850: warning: `struct flock' declared inside parameter list
> include/linux/fs.h:853: warning: `struct flock64' declared inside parameter list
> include/linux/fs.h:855: warning: `struct flock64' declared inside parameter list
> init/main.c: In function `init_post':
> init/main.c:782: error: `O_RDWR' undeclared (first use in this function)
> init/main.c:782: error: (Each undeclared identifier is reported only once
> init/main.c:782: error: for each function it appears in.)
> make[2]: *** [init/main.o] Error 1
> make[1]: *** [init] Error 2
> make: *** [_all] Error 2

Fix below has already been submmited.

BTW, you'll have much better luck with reports like this if you
direct them to the platform specific mailing list, which would
be sparclinux@vger.kernel.org in this case.

commit c8154c8a9aaf548ad91e413da8b319858e37bc52
Author: Mark Fortescue <mark@mtfhpc.demon.co.uk>
Date:   Sat Aug 4 21:17:18 2007 -0700

    [SPARC32]: Fix build.
    
    Correct incorrect removal of asm-generic/fcntl.h from asm-sparc/fcntl.h by
    commit 6ba60d2195cd65d72eaf7ce3903a707c5bf20c7b.
    
    Signed-off-by: Mark Fortescue <mark@mtfhpc.demon.co.uk>
    Signed-off-by: David S. Miller <davem@davemloft.net>

diff --git a/include/asm-sparc/fcntl.h b/include/asm-sparc/fcntl.h
index 7bbdfc7..5ec5463 100644
--- a/include/asm-sparc/fcntl.h
+++ b/include/asm-sparc/fcntl.h
@@ -32,5 +32,6 @@
 #define __ARCH_FLOCK_PAD	short __unused;
 #define __ARCH_FLOCK64_PAD	short __unused;
 
+#include <asm-generic/fcntl.h>
 
 #endif

  reply	other threads:[~2007-08-06  7:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-06  7:31 2.6.23-rc2 cross compile regressions (alpha,sparc,xtensa) Jan Dittmer
2007-08-06  7:34 ` David Miller [this message]
2007-08-06  7:42 ` Christian Zankel

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=20070806.003441.41635922.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=chris@zankel.net \
    --cc=jdi@l4x.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=michal.k.k.piotrowski@gmail.com \
    --cc=rth@twiddle.net \
    --cc=wli@holomorphy.com \
    /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