+ kernel-watchdogc-convert-printk-pr_warning-to-pr_foo.patch added to -mm tree
Subject: + kernel-watchdogc-convert-printk-pr_warning-to-pr_foo.patch added to -mm tree
To: [email protected],[email protected]
From: [email protected]
Date: Fri, 09 May 2014 12:06:46 -0700
The patch titled
Subject: kernel/watchdog.c: convert printk/pr_warning to pr_foo()
has been added to the -mm tree. Its filename is
kernel-watchdogc-convert-printk-pr_warning-to-pr_foo.patch
This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/kernel-watchdogc-convert-printk-pr_warning-to-pr_foo.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/kernel-watchdogc-convert-printk-pr_warning-to-pr_foo.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: Fabian Frederick <[email protected]>
Subject: kernel/watchdog.c: convert printk/pr_warning to pr_foo()
Replace some obsolete functions.
---
kernel/watchdog.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-)
kernel/watchdog.c renamed from kernel/watchdog.c~kernel-watchdogc-convert-printk-pr_warning-to-pr_foo +6 -4
@@ -260,9 +260,11 @@ static void watchdog_overflow_callback(sreturn ;if (hardlockup_panic) -panic ("Watchdog detected hard LOCKUP on cpu %d" , this_cpu); +panic ("Watchdog detected hard LOCKUP on cpu %d" , + this_cpu);else -WARN (1 ,"Watchdog detected hard LOCKUP on cpu %d" , this_cpu); +WARN (1 ,"Watchdog detected hard LOCKUP on cpu %d" , + this_cpu);__this_cpu_write (hard_watchdog_warn, true);return ;
@@ -345,7 +347,7 @@ static enum hrtimer_restart watchdog_tim } } -printk (KERN_EMERG "BUG: soft lockup - CPU#%d stuck for %us! [%s:%d]\n" , +pr_emerg ("BUG: soft lockup - CPU#%d stuck for %us! [%s:%d]\n" ,smp_processor_id (), duration, current->comm,task_pid_nr (current));print_modules ();
@@ -484,7 +486,7 @@ static int watchdog_nmi_enable(unsignedif (PTR_ERR (event) == -EOPNOTSUPP )pr_info ("disabled (cpu%i): not supported (no LAPIC?)\n" , cpu);else if (PTR_ERR (event) == -ENOENT ) -pr_warning ("disabled (cpu%i): hardware events not enabled\n" , +pr_warn ("disabled (cpu%i): hardware events not enabled\n" , cpu);else pr_err("disabled (cpu%i): unable to create perf event: %ld\n",
_
Patches currently in -mm which might be from [email protected] are
origin.patch
fs-ceph-replace-pr_warning-by-pr_warn.patch fs-ceph-debugfsc-replace-seq_printf-by-seq_puts.patch fs-cifs-remove-obsolete-__constant.patch fs-jfs-jfs_logmgrc-remove-null-assignment-on-static.patch fs-jfs-superc-remove-0-assignement-to-static-code-clean-up.patch fs-fscache-convert-printk-to-pr_foo.patch fs-fscache-replace-seq_printf-by-seq_puts.patch kernel-posix-timersc-code-clean-up.patch kernel-posix-timersc-code-clean-up-checkpatch-fixes.patch ntfs-remove-null-value-assignments.patch fs-squashfs-squashfsh-replace-pr_warning-by-pr_warn.patch arch-unicore32-mm-ioremapc-convert-printk-warn_on-to-warn1.patch arch-unicore32-mm-ioremapc-convert-printk-warn_on-to-warn1-fix.patch fs-configs-itemc-kernel-doc-fixes-clean-up.patch ocfs2-remove-null-assignments-on-static.patch fs-ocfs2-superc-use-ocfs2_max_vol_label_len-and-strlcpy.patch fs-9p-v9fsc-add-__init-to-v9fs_sysfs_init.patch fs-9p-kerneldoc-fixes.patch mm-slubc-convert-printk-to-pr_foo.patch mm-slubc-convert-vnsprintf-static-to-va_format.patch mm-memory_hotplugc-use-pfn_down.patch mm-memblockc-use-pfn_down.patch mm-memcontrolc-remove-null-assignment-on-static.patch mm-vmallocc-replace-seq_printf-by-seq_puts.patch mm-mempolicyc-parameter-doc-uniformization.patch mm-zbudc-make-size-unsigned-like-unique-callsite.patch sys_sgetmask-sys_ssetmask-add-config_sgetmask_syscall.patch kernel-cpuc-convert-printk-to-pr_foo.patch kernel-backtracetestc-replace-no-level-printk-by-pr_info.patch kernel-capabilityc-code-clean-up.patch kernel-exec_domainc-code-clean-up.patch kernel-latencytopc-convert-seq_printf-to-seq_puts.patch kernel-stop_machinec-kernel-doc-warning-fix.patch kernel-tracepointc-kernel-doc-fixes.patch kernel-res_counterc-replace-simple_strtoull-by-kstrtoull.patch kernel-res_counterc-replace-simple_strtoull-by-kstrtoull-fix.patch documentation-expand-clarify-debug-documentation.patch lib-libcrc32cc-use-ptr_err_or_zero.patch lib-vsprintfc-fix-comparison-to-bool.patch kernel-compatc-use-sizeof-instead-of-sizeof.patch fs-binfmt_elfc-fix-bool-assignements.patch fs-autofs4-dev-ioctlc-add-__init-to-autofs_dev_ioctl_init.patch fs-befs-linuxvfsc-replace-strncpy-by-strlcpy.patch fs-befs-btreec-replace-strncpy-by-strlcpy-coding-style-fixing.patch fs-befs-linuxvfsc-remove-positive-test-on-sector_t.patch fs-befs-kernel-doc-fixes.patch
fs-isofs-logging-clean-up.patch fs-ufs-ballocc-remove-err-parameter-in-ufs_add_fragments.patch fs-reiserfs-bitmapc-coding-style-fixes.patch fs-reiserfs-streec-remove-obsolete-__constant.patch kernel-kexecc-convert-printk-to-pr_foo.patch fs-affs-filec-remove-unnecessary-function-parameters.patch fs-affs-convert-printk-to-pr_foo.patch fs-affs-pr_debug-cleanup.patch kernel-profilec-convert-printk-to-pr_foo.patch kernel-profilec-use-static-const-char-instead-of-static-char.patch fs-pstore-logging-clean-up.patch fs-pstore-logging-clean-up-fix.patch kernel-seccompc-kernel-doc-warning-fix.patch
linux-next.patch
init-mainc-code-clean-up.patch kernel-rcu-treec-make-rcu-node-arrays-static-const-char-const.patch kernel-kprobesc-convert-printk-to-pr_foo.patch ufs-sb-mutex-merge-mutex_destroy.patch kernel-rebootc-convert-simple_strtoul-to-kstrtoint.patch kernel-time-ntpc-convert-simple_strtol-to-kstrtol.patch kernel-watchdogc-convert-printk-pr_warning-to-pr_foo.patch kernel-utsname_sysctlc-replace-obsolete-__initcall-by-device_initcall.patch kernel-user_namespacec-kernel-doc-checkpatch-fixes.patch kernel-power-hibernatec-convert-simple_strtoul-to-kstrtoul.patch kernel-hung_taskc-convert-simple_strtoul-to-kstrtouint.patch