arm64: Use pr_* instead of printk
This patch fixed the following checkpatch complaint as using pr_* instead of printk. WARNING: printk() should include KERN_ facility level Signed-off-by: Jungseok Lee <jays.lee@samsung.com> Reviewed-by: Sungjinn Chung <sungjinn.chung@samsung.com> Acked-by: Kukjin Kim <kgene.kim@samsung.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
This commit is contained in:
parent
da57a369d3
commit
ac7b406c1a
|
@ -156,7 +156,7 @@ static void dump_backtrace(struct pt_regs *regs, struct task_struct *tsk)
|
||||||
frame.pc = thread_saved_pc(tsk);
|
frame.pc = thread_saved_pc(tsk);
|
||||||
}
|
}
|
||||||
|
|
||||||
printk("Call trace:\n");
|
pr_emerg("Call trace:\n");
|
||||||
while (1) {
|
while (1) {
|
||||||
unsigned long where = frame.pc;
|
unsigned long where = frame.pc;
|
||||||
int ret;
|
int ret;
|
||||||
|
@ -331,17 +331,17 @@ asmlinkage void bad_mode(struct pt_regs *regs, int reason, unsigned int esr)
|
||||||
|
|
||||||
void __pte_error(const char *file, int line, unsigned long val)
|
void __pte_error(const char *file, int line, unsigned long val)
|
||||||
{
|
{
|
||||||
printk("%s:%d: bad pte %016lx.\n", file, line, val);
|
pr_crit("%s:%d: bad pte %016lx.\n", file, line, val);
|
||||||
}
|
}
|
||||||
|
|
||||||
void __pmd_error(const char *file, int line, unsigned long val)
|
void __pmd_error(const char *file, int line, unsigned long val)
|
||||||
{
|
{
|
||||||
printk("%s:%d: bad pmd %016lx.\n", file, line, val);
|
pr_crit("%s:%d: bad pmd %016lx.\n", file, line, val);
|
||||||
}
|
}
|
||||||
|
|
||||||
void __pgd_error(const char *file, int line, unsigned long val)
|
void __pgd_error(const char *file, int line, unsigned long val)
|
||||||
{
|
{
|
||||||
printk("%s:%d: bad pgd %016lx.\n", file, line, val);
|
pr_crit("%s:%d: bad pgd %016lx.\n", file, line, val);
|
||||||
}
|
}
|
||||||
|
|
||||||
void __init trap_init(void)
|
void __init trap_init(void)
|
||||||
|
|
Loading…
Reference in New Issue