Skip to contentSkip to conversation

sysrq: fix inconstistent help message of sysrq key

PATCH RESEND Superseded zhangwei(Jovi) 1 participant 1 message Mar 7, 2013

lore
Share & tools
lore
#0 lore raw

cover sysrq: fix inconstistent help message of sysrq key

(v1->v2: change the help message of sysrq key, instead of allow user trigger upper-case character)

Currently help message of /proc/sysrq-trigger highlight its upper-case characters, like below:

SysRq : HELP : loglevel(0-9) reBoot Crash terminate-all-tasks(E) memory-full-oom-kill(F) kill-all-tasks(I) ...

this would confuse user trigger sysrq by upper-case character, which is inconsistent with the real lower-case character registed key.

This inconsistent help message will also lead more confused when 26 upper-case letters put into use in future.

This series fix it.

Thanks the comments from Andrew and Randy.

---
 Documentation/sysrq.txt               |   20 ++++++++---------
 arch/arm/kernel/etm.c                 |    2 +-
 arch/powerpc/xmon/xmon.c              |    2 +-
 arch/sparc/kernel/process_64.c        |    4 ++--
 drivers/net/ethernet/ibm/emac/debug.c |    2 +-
 drivers/tty/sysrq.c                   |   38 ++++++++++++++++-----------------
 kernel/debug/debug_core.c             |    2 +-
 kernel/power/poweroff.c               |    2 +-
 8 files changed, 36 insertions(+), 36 deletions(-)