Skip to contentSkip to conversation

s390: Remove unnecessary KERN_CONT

PATCH Applied Joe Perches 2 participants 2 messages Jan 5, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 s390: Remove unnecessary KERN_CONT

This has no effect as KERN_CONT is an empty string,

It's probably just a missing conversion artifact as the other pr_cont uses in the same file don't have this prefix.

---
 arch/s390/mm/fault.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/s390/mm/fault.c +1 -1
index 811937b..232c14e 100644
@@ -171,7 +171,7 @@ static void dump_pagetable(unsigned long asce, unsigned long address)
 		table = table + ((address >> 20) & 0x7ff);
 		if (bad_address(table))
 			goto bad;
-		pr_cont(KERN_CONT "S:%016lx ", *table);
+		pr_cont("S:%016lx ", *table);
 		if (*table & (_SEGMENT_ENTRY_INVALID | _SEGMENT_ENTRY_LARGE))
 			goto out;
 		table = (unsigned long *)(*table & _SEGMENT_ENTRY_ORIGIN);
#1 lore raw
Quoted 15 lines · Joe Perches

This has no effect as KERN_CONT is an empty string,

It's probably just a missing conversion artifact as the other pr_cont uses in the same file don't have this prefix.

---
 arch/s390/mm/fault.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/s390/mm/fault.c +0 -0
index 811937b..232c14e 100644

arch/s390/mm/fault.c static void dump_pagetable(unsigned long asce, unsigned long address) · line 174

Quoted 5 lines
arch/s390/mm/fault.c +1 -1
@@ -171,7 +171,7 @@ static void dump_pagetable(unsigned long asce, unsigned long address)
 		table = table + ((address >> 20) & 0x7ff);
 		if (bad_address(table))
 			goto bad;
-		pr_cont(KERN_CONT "S:%016lx ", *table);
+		pr_cont("S:%016lx ", *table);

Applied, thanks.