Skip to contentSkip to conversation

audit-fix-decimal-constant-description.patch removed from -mm tree

merged [email protected] 1 participant 1 message Jul 9, 2013 Audit

lore
Share & tools
lore
#0 lore raw

Subject: [merged] audit-fix-decimal-constant-description.patch removed from -mm tree
To: [email protected],[email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Tue, 09 Jul 2013 16:19:04 -0700

The patch titled
Subject: audit: Fix decimal constant description
has been removed from the -mm tree. Its filename was
audit-fix-decimal-constant-description.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Michal Simek <[email protected]>
Subject: audit: Fix decimal constant description

Use proper decimal type for comparison with u32.

Compilation warning was introduced by 780a7654 ("audit: Make testing for a valid loginuid explicit.")

kernel/auditfilter.c: In function 'audit_data_to_entry':
kernel/auditfilter.c:426:3: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
if ((f->type == AUDIT_LOGINUID) && (f->val == 4294967295)) {

---

 kernel/auditfilter.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/auditfilter.c renamed from kernel/auditfilter.c~audit-fix-decimal-constant-description +1 -1
diff -puN kernel/auditfilter.c~audit-fix-decimal-constant-description 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 == 4294967295U)) {
+		if ((f->type == AUDIT_LOGINUID) && (f->val == ~0U)) {
 			f->type = AUDIT_LOGINUID_SET;
 			f->val = 0;
 		}

_

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

origin.patch
linux-next.patch