All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH Resend 0/8] sysrq: fix inconstistent help message of sysrq key
@ 2013-03-07  8:59 zhangwei(Jovi)
  0 siblings, 0 replies; only message in thread
From: zhangwei(Jovi) @ 2013-03-07  8:59 UTC (permalink / raw)
  To: linux-kernel@vger.kernel.org, Greg Kroah-Hartman, Andrew Morton,
	Randy Dunlap


(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(-)



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-03-07  9:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-07  8:59 [PATCH Resend 0/8] sysrq: fix inconstistent help message of sysrq key zhangwei(Jovi)

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.