linux-next: build failure after merge of the audit tree

From: Stephen Rothwell
Date: Wed Nov 06 2013 - 01:27:52 EST


Hi Eric,

After merging the audit tree, today's linux-next build (x86_64
allmodconfig) failed like this:

kernel/auditsc.c: In function 'audit_set_loginuid':
kernel/auditsc.c:2003:15: error: incompatible types when assigning to type 'kuid_t' from type 'int'
oldsessionid = audit_get_sessionid(current);
^
kernel/auditsc.c:2016:2: error: incompatible type for argument 3 of 'audit_log_set_loginuid'
audit_log_set_loginuid(oldloginuid, loginuid, oldsessionid, sessionid, rc);
^
kernel/auditsc.c:1967:13: note: expected 'unsigned int' but argument is of type 'kuid_t'
static void audit_log_set_loginuid(kuid_t koldloginuid, kuid_t kloginuid,
^

Caused by commit da0a610497ce ("audit: loginuid functions coding style").

I have used the version of the audit tree from next-20131105 for today.

--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx

Attachment: pgp00000.pgp
Description: PGP signature