Re: kernel/uid16.c:184:2: error: implicit declaration of function 'groups_alloc'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]