Re: linux-next: Tree for Feb 19 (security/integrity/ima)

From: Mimi Zohar
Date: Wed Feb 20 2013 - 12:55:07 EST


On Tue, 2013-02-19 at 16:28 -0800, Randy Dunlap wrote:
> On 02/18/13 22:03, Stephen Rothwell wrote:
> > Hi all,
> >
> > Changes since 20130218:
> >
>
> on x86_64:
>
> CC security/integrity/ima/ima_policy.o
> security/integrity/ima/ima_policy.c: In function 'ima_parse_rule':
> security/integrity/ima/ima_policy.c:538:4: error: implicit declaration of function 'part_pack_uuid' [-Werror=implicit-function-declaration]
> cc1: some warnings being treated as errors
> make[4]: *** [security/integrity/ima/ima_policy.o] Error 1
>
>
> Full randconfig file is attached.

part_pack_uuid() is only defined for CONFIG_BLOCK in
include/linux/genhd.h. One solution would be to add a stub function
definition in include/linux/genhd.h, the other option would be to ifndef
CONFIG_BLOCK in C code.

thanks,

Mimi




--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/