All of lore.kernel.org
 help / color / mirror / Atom feed
From: josh@joshtriplett.org
To: Andrew Morton <akpm@linux-foundation.org>
Cc: kbuild test robot <fengguang.wu@intel.com>,
	Iulia Manda <iulia.manda21@gmail.com>,
	kbuild-all@01.org,
	"Paul E. McKenney" <paulmck@linux.vnet.ibm.com>,
	Linux Memory Management List <linux-mm@kvack.org>
Subject: Re: kernel/uid16.c:184:2: error: implicit declaration of function 'groups_alloc'
Date: Mon, 6 Jul 2015 14:47:05 -0700	[thread overview]
Message-ID: <20150706214705.GA14305@cloud> (raw)
In-Reply-To: <20150706135601.bd75127ce72297e70a396bd3@linux-foundation.org>

Andrew,

On Mon, Jul 06, 2015 at 01:56:01PM -0700, Andrew Morton wrote:
> On Sun, 5 Jul 2015 07:30:38 +0800 kbuild test robot <fengguang.wu@intel.com> wrote:
> 
> > tree:   git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> > head:   5c755fe142b421d295e7dd64a9833c12abbfd28e
> > commit: 2813893f8b197a14f1e1ddb04d99bce46817c84a kernel: conditionally support non-root users, groups and capabilities
> > date:   3 months ago
> > config: openrisc-allnoconfig (attached as .config)
> > reproduce:
> >   wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
> >   chmod +x ~/bin/make.cross
> >   git checkout 2813893f8b197a14f1e1ddb04d99bce46817c84a
> >   # save the attached .config to linux build tree
> >   make.cross ARCH=openrisc 
> > 
> > All error/warnings (new ones prefixed by >>):
> > 
> >    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
> 
> 
> Iulia, does the below look corect?  It will make setgroups16() return
> -ENOMEM, which seems inappropriate.

[...snip...]

How is the .config valid, given that UID16 *depends* on MULTIUSER?  This
shouldn't be possible, and I know Iulia specifically addressed this case
by adding that dependency (without which this *exact* error would
occur).

Is something doing "select UID16" and missing its dependency?  I don't
see any selects for UID16 anywhere in-tree.

- 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-06 21:47 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
2015-07-06 20:56 ` Andrew Morton
2015-07-06 21:47   ` josh [this message]
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=20150706214705.GA14305@cloud \
    --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 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.