Kill pr_warning in the whole linux code
Status from this message: Applied, thanks!
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest33 patches 14 repliesApplied
- v132 patches 26 repliesSuperseded
Changes in v2 from the cover letter
- Collect ack-by/review-by
- Fix some indentation and alignment
- Split patches in drivers/platform/x86/ suggested by Andy Shevchenko
- Drop staging changes which already merged
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/33 | alpha: Use pr_warn instead of pr_warningarch/ | +2 | 0 replies | |
| 2/33 | arm64: Use pr_warn instead of pr_warningarch/ arch/ | +9 | 0 replies | |
| 3/33 | ia64: Use pr_warn instead of pr_warningarch/ | +1 | 1 reply | |
| 4/33 | riscv: Use pr_warn instead of pr_warningarch/ | +2 | 0 replies | |
| 5/33 | sh: Use pr_warn instead of pr_warningarch/ arch/ arch/ +2 more | +6 | 0 replies | |
| 6/33 | sparc: Use pr_warn instead of pr_warningarch/ | +3 | 1 reply | |
| 7/33 | x86: Use pr_warn instead of pr_warningarch/ arch/ arch/ +11 more | +57 | 0 replies | |
| 8/33 | acpi: Use pr_warn instead of pr_warningdrivers/ drivers/ drivers/ +4 more | +44 | 0 replies | |
| 9/33 | drbd: Use pr_warn instead of pr_warningdrivers/ | +6 | 0 replies | |
| 10/33 | gdrom: Use pr_warn instead of pr_warningdrivers/ | +2 | 0 replies | |
| 11/33 | clocksource: samsung_pwm_timer: Use pr_warn instead of pr_warningdrivers/ | +1 | 0 replies | |
| 12/33 | crypto: n2: Use pr_warn instead of pr_warningdrivers/ | +6 | 0 replies | |
| 13/33 | ide: Use pr_warn instead of pr_warningdrivers/ drivers/ | +4 | 0 replies | |
| 14/33 | idsn: Use pr_warn instead of pr_warningdrivers/ drivers/ drivers/ +6 more | +35 | 0 replies | |
| 15/33 | macintosh: Use pr_warn instead of pr_warningdrivers/ drivers/ drivers/ +1 more | +17 | 0 replies | |
| 16/33 | of: Use pr_warn instead of pr_warningdrivers/ | +10 | 0 replies | |
| 17/33 | oprofile: Use pr_warn instead of pr_warningdrivers/ | +4 | 0 replies | |
| 18/33 | platform/x86: eeepc-laptop: Use pr_warn instead of pr_warningdrivers/ | +1 | 1 reply | |
| 19/33 | platform/x86: asus-laptop: Use pr_warn instead of pr_warningdrivers/ | +1 | 1 reply | |
| 20/33 | platform/x86: intel_oaktrail: Use pr_warn instead of pr_warningdrivers/ | +5 | 1 reply | |
| 21/33 | scsi: Use pr_warn instead of pr_warningdrivers/ | +1 | 0 replies | |
| 22/33 | sh/intc: Use pr_warn instead of pr_warningdrivers/ | +2 | 0 replies | |
| 23/33 | fs: afs: Use pr_warn instead of pr_warningfs/ fs/ fs/ | +10 | 0 replies | |
| 24/33 | vgacon: Use pr_warn instead of pr_warningdrivers/ | +3 | 0 replies | |
| 25/33 | dma-debug: Use pr_warn instead of pr_warningkernel/ | +1 | 0 replies | |
| 26/33 | trace: Use pr_warn instead of pr_warningkernel/ | +2 | 0 replies | |
| 27/33 | lib: cpu_rmap: Use pr_warn instead of pr_warninglib/ | +1 | 0 replies | |
| 28/33 | ASoC: samsung: Use pr_warn instead of pr_warningsound/ | +3 | 1 reply | |
| 29/33 | printk: Drop pr_warninginclude/ | +1 | 0 replies | |
| 30/33 | tools lib api: Renaming pr_warning to pr_warntools/ tools/ tools/ | +6 | 0 replies | |
| 31/33 | tools lib bpf: Renaming pr_warning to pr_warntools/ tools/ tools/ +2 more | +379 | 5 replies | |
| 32/33 | tools perf: Renaming pr_warning to pr_warntools/ tools/ tools/ +41 more | +273 | 0 replies | |
| 33/33 | checkpatch: Drop pr_warning checkscripts/ | +0 | 0 replies |
Reviews trailers per patch
All 33 patches have a Reviewed-by or Acked-by.
| Patch | Sergey Senozhatsky | David S. Miller | Will Deacon | Steven Rostedt (VMware) | Andrii Nakryiko | Robert Richter | Palmer Dabbelt | Daniel Lezcano | Andy Shevchenko | Sylwester Nawrocki | Tony Luck |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 1/33 | R-b | ||||||||||
| 2/33 | R-b | A-b | |||||||||
| 3/33 | R-b | A-b | |||||||||
| 4/33 | R-b | A-b | |||||||||
| 5/33 | R-b | ||||||||||
| 6/33 | R-b | A-b | |||||||||
| 7/33 | R-b | ||||||||||
| 8/33 | R-b | ||||||||||
| 9/33 | R-b | ||||||||||
| 10/33 | R-b | ||||||||||
| 11/33 | R-b | A-b | |||||||||
| 12/33 | R-b | ||||||||||
| 13/33 | R-b | ||||||||||
| 14/33 | R-b | ||||||||||
| 15/33 | R-b | ||||||||||
| 16/33 | R-b | ||||||||||
| 17/33 | R-b | A-b | |||||||||
| 18/33 | R-b | A-b | |||||||||
| 19/33 | R-b | A-b | |||||||||
| 20/33 | R-b | A-b | |||||||||
| 21/33 | R-b | ||||||||||
| 22/33 | R-b | ||||||||||
| 23/33 | R-b | ||||||||||
| 24/33 | R-b | ||||||||||
| 25/33 | R-b | ||||||||||
| 26/33 | R-b | A-b | |||||||||
| 27/33 | R-b | ||||||||||
| 28/33 | R-b | R-b | |||||||||
| 29/33 | R-b | ||||||||||
| 30/33 | R-b | ||||||||||
| 31/33 | R-b R-b | A-b A-b | |||||||||
| 32/33 | R-b | ||||||||||
| 33/33 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 11 reviewers.
Cover letter [PATCH v2 00/33] Kill pr_warning in the whole linux code
There are pr_warning and pr_warng to show WARNING level message, most of the code using pr_warn, number based on next-20191017,
pr_warn: 5206 pr_warning: 546 (tools: 399, others: 147)
Joe Perches posted a patch, commit f2c2cbcc35d4 ("powerpc: Use pr_warn instead of pr_warning"), which is beginning to remove pr_warning, so all logging messages use a consistent pr_warn style once pr_warning removed, and checkpatch also sugguests that better to use pr_warn instead of pr_warning.
Let's carry on with the work to standardize the logging macro, kill pr_warning in the whole linux code.
Note, for tools api/bpf/perf part, rename pr_warning to pr_warn to keep the consistence, with this patchset,
pr_warn: 5747 pr_warning: 0
Patch[01-28]: simply sed and ajust formats
patch[29]: drop pr_warning definition in printk
patch[30-32]: tools api/bpf/perf, rename and make manually changes
patch[33]: cleanup the checkpatch.pl
Miscellanea:
o Coalesce formats
o Realign arguments
o Remove unnecessary line continuations
The patchset is based on next-20191017 and will be taked via printk.git by Petr Mladek, see
https://lore.kernel.org/lkml/[email protected]/
v2:
- Collect ack-by/review-by
- Fix some indentation and alignment
- Split patches in drivers/platform/x86/ suggested by Andy Shevchenko
- Drop staging changes which already merged
Kefeng Wang (33):
alpha: Use pr_warn instead of pr_warning
arm64: Use pr_warn instead of pr_warning
ia64: Use pr_warn instead of pr_warning
riscv: Use pr_warn instead of pr_warning
sh: Use pr_warn instead of pr_warning
sparc: Use pr_warn instead of pr_warning
x86: Use pr_warn instead of pr_warning
acpi: Use pr_warn instead of pr_warning
drbd: Use pr_warn instead of pr_warning
gdrom: Use pr_warn instead of pr_warning
clocksource: samsung_pwm_timer: Use pr_warn instead of pr_warning
crypto: n2: Use pr_warn instead of pr_warning
ide: Use pr_warn instead of pr_warning
idsn: Use pr_warn instead of pr_warning
macintosh: Use pr_warn instead of pr_warning
of: Use pr_warn instead of pr_warning
oprofile: Use pr_warn instead of pr_warning platform/x86: eeepc-laptop: Use pr_warn instead of pr_warning platform/x86: asus-laptop: Use pr_warn instead of pr_warning platform/x86: intel_oaktrail: Use pr_warn instead of pr_warning
scsi: Use pr_warn instead of pr_warning
sh/intc: Use pr_warn instead of pr_warning
fs: afs: Use pr_warn instead of pr_warning
vgacon: Use pr_warn instead of pr_warning
dma-debug: Use pr_warn instead of pr_warning
trace: Use pr_warn instead of pr_warning
lib: cpu_rmap: Use pr_warn instead of pr_warning
ASoC: samsung: Use pr_warn instead of pr_warning
printk: Drop pr_warning
tools lib api: Renaming pr_warning to pr_warn
tools lib bpf: Renaming pr_warning to pr_warn
tools perf: Renaming pr_warning to pr_warn
checkpatch: Drop pr_warning check
arch/alpha/kernel/perf_event.c | 4 +- arch/arm64/kernel/hw_breakpoint.c | 8 +- arch/arm64/kernel/smp.c | 11 +- arch/ia64/kernel/setup.c | 2 +- arch/riscv/kernel/module.c | 4 +- arch/sh/boards/mach-sdk7786/nmi.c | 2 +- arch/sh/drivers/pci/fixups-sdk7786.c | 2 +- arch/sh/kernel/io_trapped.c | 2 +- arch/sh/kernel/setup.c | 2 +- arch/sh/mm/consistent.c | 5 +- arch/sparc/kernel/smp_64.c | 6 +- arch/x86/kernel/amd_gart_64.c | 12 +- arch/x86/kernel/apic/apic.c | 41 +- arch/x86/kernel/setup_percpu.c | 4 +- arch/x86/kernel/tboot.c | 15 +- arch/x86/kernel/tsc_sync.c | 8 +- arch/x86/kernel/umip.c | 6 +- arch/x86/mm/kmmio.c | 7 +- arch/x86/mm/mmio-mod.c | 6 +- arch/x86/mm/numa_emulation.c | 4 +- arch/x86/mm/testmmiotrace.c | 6 +- arch/x86/oprofile/op_x86_model.h | 6 +- arch/x86/platform/olpc/olpc-xo15-sci.c | 2 +- arch/x86/platform/sfi/sfi.c | 3 +- arch/x86/xen/setup.c | 2 +- drivers/acpi/apei/apei-base.c | 36 +- drivers/acpi/apei/einj.c | 4 +- drivers/acpi/apei/erst-dbg.c | 5 +- drivers/acpi/apei/ghes.c | 25 +- drivers/acpi/apei/hest.c | 14 +- drivers/acpi/battery.c | 2 +- drivers/acpi/resource.c | 4 +- drivers/block/drbd/drbd_nl.c | 13 +- drivers/cdrom/gdrom.c | 4 +- drivers/clocksource/samsung_pwm_timer.c | 2 +- drivers/crypto/n2_core.c | 12 +- drivers/ide/tx4938ide.c | 2 +- drivers/ide/tx4939ide.c | 6 +- drivers/isdn/hardware/mISDN/avmfritz.c | 16 +- drivers/isdn/hardware/mISDN/hfcmulti.c | 8 +- drivers/isdn/hardware/mISDN/hfcpci.c | 3 +- drivers/isdn/hardware/mISDN/hfcsusb.c | 4 +- drivers/isdn/hardware/mISDN/mISDNipac.c | 4 +- drivers/isdn/hardware/mISDN/mISDNisar.c | 10 +- drivers/isdn/hardware/mISDN/netjet.c | 8 +- drivers/isdn/hardware/mISDN/w6692.c | 12 +- drivers/isdn/mISDN/hwchannel.c | 7 +- drivers/macintosh/windfarm_fcu_controls.c | 4 +- drivers/macintosh/windfarm_lm87_sensor.c | 4 +- drivers/macintosh/windfarm_pm72.c | 22 +- drivers/macintosh/windfarm_rm31.c | 6 +- drivers/of/fdt.c | 20 +- drivers/oprofile/oprofile_perf.c | 8 +- drivers/platform/x86/asus-laptop.c | 2 +- drivers/platform/x86/eeepc-laptop.c | 2 +- drivers/platform/x86/intel_oaktrail.c | 10 +- drivers/scsi/a3000.c | 2 +- drivers/sh/intc/core.c | 4 +- drivers/video/console/vgacon.c | 6 +- fs/afs/flock.c | 4 +- fs/afs/inode.c | 13 +- fs/afs/yfsclient.c | 4 +- include/linux/printk.h | 3 +- kernel/dma/debug.c | 2 +- kernel/trace/trace_benchmark.c | 4 +- lib/cpu_rmap.c | 2 +- scripts/checkpatch.pl | 9 - sound/soc/samsung/s3c-i2s-v2.c | 6 +- tools/lib/api/debug-internal.h | 4 +- tools/lib/api/debug.c | 4 +- tools/lib/api/fs/fs.c | 4 +- tools/lib/bpf/btf.c | 56 +- tools/lib/bpf/btf_dump.c | 18 +- tools/lib/bpf/libbpf.c | 679 +++++++++++----------- tools/lib/bpf/libbpf_internal.h | 8 +- tools/lib/bpf/xsk.c | 4 +- tools/perf/arch/x86/util/intel-pt.c | 2 +- tools/perf/builtin-annotate.c | 7 +- tools/perf/builtin-buildid-cache.c | 28 +- tools/perf/builtin-diff.c | 12 +- tools/perf/builtin-help.c | 10 +- tools/perf/builtin-inject.c | 8 +- tools/perf/builtin-probe.c | 14 +- tools/perf/builtin-record.c | 10 +- tools/perf/builtin-report.c | 2 +- tools/perf/builtin-script.c | 14 +- tools/perf/builtin-stat.c | 18 +- tools/perf/builtin-timechart.c | 12 +- tools/perf/builtin-top.c | 2 +- tools/perf/builtin-trace.c | 8 +- tools/perf/lib/internal.h | 2 +- tools/perf/ui/browsers/scripts.c | 2 +- tools/perf/util/bpf-loader.c | 6 +- tools/perf/util/bpf-prologue.c | 4 +- tools/perf/util/callchain.c | 2 +- tools/perf/util/config.c | 8 +- tools/perf/util/data-convert-bt.c | 4 +- tools/perf/util/data.c | 2 +- tools/perf/util/debug.c | 4 +- tools/perf/util/debug.h | 2 +- tools/perf/util/event.c | 4 +- tools/perf/util/evlist.c | 4 +- tools/perf/util/evsel.c | 19 +- tools/perf/util/header.c | 20 +- tools/perf/util/jitdump.c | 4 +- tools/perf/util/llvm-utils.c | 18 +- tools/perf/util/machine.c | 2 +- tools/perf/util/parse-branch-options.c | 3 +- tools/perf/util/perf-hooks.c | 6 +- tools/perf/util/probe-event.c | 90 +-- tools/perf/util/probe-file.c | 36 +- tools/perf/util/probe-finder.c | 115 ++-- tools/perf/util/record.c | 18 +- tools/perf/util/session.c | 2 +- tools/perf/util/srcline.c | 6 +- tools/perf/util/synthetic-events.c | 10 +- tools/perf/util/thread-stack.c | 4 +- tools/perf/util/thread_map.c | 2 +- tools/perf/util/trace-event-parse.c | 2 +- tools/perf/util/unwind-libunwind-local.c | 9 +- 120 files changed, 898 insertions(+), 944 deletions(-)
Signature · 1 line
2.20.1