Skip to contentSkip to conversation

+ kernel-auditfilterc-fixing-build-warning.patch added to -mm tree

PATCH [email protected] 1 participant 1 message May 30, 2013 Audit

lore
Share & tools
lore
#0 lore raw

Subject: + kernel-auditfilterc-fixing-build-warning.patch added to -mm tree
To: [email protected],[email protected],[email protected]
From: [email protected]
Date: Thu, 30 May 2013 13:42:45 -0700

The patch titled
Subject: kernel/auditfilter.c: fixing build warning
has been added to the -mm tree. Its filename is
kernel-auditfilterc-fixing-build-warning.patch

Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

The -mm tree is included into linux-next and is updated there every 3-4 working days

------------------------------------------------------
From: "Raphael S. Carvalho" <[email protected]>
Subject: kernel/auditfilter.c: fixing build warning

kernel/auditfilter.c:426: warning: this decimal constant is unsigned only in ISO C90

---

 kernel/auditfilter.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/auditfilter.c renamed from kernel/auditfilter.c~kernel-auditfilterc-fixing-build-warning +1 -1
diff -puN kernel/auditfilter.c~kernel-auditfilterc-fixing-build-warning kernel/auditfilter.c
@@ -423,7 +423,7 @@ static struct audit_entry *audit_data_to
 		f->lsm_rule = NULL;
 
 		/* Support legacy tests for a valid loginuid */
-		if ((f->type == AUDIT_LOGINUID) && (f->val == 4294967295)) {
+		if ((f->type == AUDIT_LOGINUID) && (f->val == 4294967295U)) {
 			f->type = AUDIT_LOGINUID_SET;
 			f->val = 0;
 		}

_

Patches currently in -mm which might be from [email protected] are

kernel-auditfilterc-fixing-build-warning.patch