Merge tag 'printk-for-5.5' of git://git.kernel.org/pub/scm/linux/kernel/git/pmladek/printk
Pull printk updates from Petr Mladek: - Allow to print symbolic error names via new %pe modifier. - Use pr_warn() instead of the remaining pr_warning() calls. Fix formatting of the related lines. - Add VSPRINTF entry to MAINTAINERS. * tag 'printk-for-5.5' of git://git.kernel.org/pub/scm/linux/kernel/git/pmladek/printk: (32 commits) checkpatch: don't warn about new vsprintf pointer extension '%pe' MAINTAINERS: Add VSPRINTF tools lib api: Renaming pr_warning to pr_warn ASoC: samsung: Use pr_warn instead of pr_warning lib: cpu_rmap: Use pr_warn instead of pr_warning trace: Use pr_warn instead of pr_warning dma-debug: Use pr_warn instead of pr_warning vgacon: Use pr_warn instead of pr_warning fs: afs: Use pr_warn instead of pr_warning sh/intc: Use pr_warn instead of pr_warning scsi: Use pr_warn instead of pr_warning platform/x86: intel_oaktrail: Use pr_warn instead of pr_warning platform/x86: asus-laptop: Use pr_warn instead of pr_warning platform/x86: eeepc-laptop: Use pr_warn instead of pr_warning oprofile: Use pr_warn instead of pr_warning of: Use pr_warn instead of pr_warning macintosh: Use pr_warn instead of pr_warning idsn: Use pr_warn instead of pr_warning ide: Use pr_warn instead of pr_warning crypto: n2: Use pr_warn instead of pr_warning ...
Bu işleme şunda yer alıyor:
@@ -161,7 +161,7 @@ static inline void dump_entry_trace(struct dma_debug_entry *entry)
|
||||
{
|
||||
#ifdef CONFIG_STACKTRACE
|
||||
if (entry) {
|
||||
pr_warning("Mapped at:\n");
|
||||
pr_warn("Mapped at:\n");
|
||||
stack_trace_print(entry->stack_entries, entry->stack_len, 0);
|
||||
}
|
||||
#endif
|
||||
|
@@ -178,14 +178,14 @@ static int benchmark_event_kthread(void *arg)
|
||||
int trace_benchmark_reg(void)
|
||||
{
|
||||
if (!ok_to_run) {
|
||||
pr_warning("trace benchmark cannot be started via kernel command line\n");
|
||||
pr_warn("trace benchmark cannot be started via kernel command line\n");
|
||||
return -EBUSY;
|
||||
}
|
||||
|
||||
bm_event_thread = kthread_run(benchmark_event_kthread,
|
||||
NULL, "event_benchmark");
|
||||
if (IS_ERR(bm_event_thread)) {
|
||||
pr_warning("trace benchmark failed to create kernel thread\n");
|
||||
pr_warn("trace benchmark failed to create kernel thread\n");
|
||||
return PTR_ERR(bm_event_thread);
|
||||
}
|
||||
|
||||
|
Yeni konuda referans
Bir kullanıcı engelle