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

From: Mimi Zohar <[email-masked]>
Date: Wed, 20 Feb 2013 11:50:50 -0500

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