linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Josh Triplett <josh@joshtriplett.org>
To: kbuild test robot <fengguang.wu@intel.com>
Cc: Iulia Manda <iulia.manda21@gmail.com>,
	kbuild-all@01.org,
	"Paul E. McKenney" <paulmck@linux.vnet.ibm.com>,
	Andrew Morton <akpm@linux-foundation.org>,
	Linux Memory Management List <linux-mm@kvack.org>
Subject: Re: kernel/uid16.c:184:2: error: implicit declaration of function 'groups_alloc'
Date: Sat, 4 Jul 2015 17:10:48 -0700	[thread overview]
Message-ID: <20150705001048.GA3486@x> (raw)
In-Reply-To: <201507050734.RcWSMvjj%fengguang.wu@intel.com>

On Sun, Jul 05, 2015 at 07:30:38AM +0800, kbuild test robot wrote:
>    kernel/uid16.c: In function 'SYSC_setgroups16':
> >> kernel/uid16.c:184:2: error: implicit declaration of function 'groups_alloc'
>    kernel/uid16.c:184:13: warning: assignment makes pointer from integer without a cast

The kernel configuration seems to be malformed:
[...]
> CONFIG_OPENRISC=y
[...]
> CONFIG_UID16=y

UID16 is set, but...

> # CONFIG_MULTIUSER is not set

And quoting init/Kconfig:

config UID16
        bool "Enable 16-bit UID system calls" if EXPERT
        depends on HAVE_UID16 && MULTIUSER

That dependency exists precisely because this error would occur if it
didn't.

The only thing I can think of that might not respect that dependency
would be a "select UID16", and I don't see any of those either in the
current tree or in the tree as of that commit.  So I don't see any way
this can have legitimately occurred.  How was this kernel configuration
generated?

- Josh Triplett

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

  reply	other threads:[~2015-07-05  0:10 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-04 23:30 kernel/uid16.c:184:2: error: implicit declaration of function 'groups_alloc' kbuild test robot
2015-07-05  0:10 ` Josh Triplett [this message]
2015-07-06 20:56 ` Andrew Morton
2015-07-06 21:47   ` josh
2015-07-06 21:59     ` Andrew Morton
2015-07-06 22:18       ` josh

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=20150705001048.GA3486@x \
    --to=josh@joshtriplett.org \
    --cc=akpm@linux-foundation.org \
    --cc=fengguang.wu@intel.com \
    --cc=iulia.manda21@gmail.com \
    --cc=kbuild-all@01.org \
    --cc=linux-mm@kvack.org \
    --cc=paulmck@linux.vnet.ibm.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;
as well as URLs for NNTP newsgroup(s).