All of lore.kernel.org
 help / color / mirror / Atom feed
* [lustre-devel] [PATCH 0/2] staging: lustre: lprocfs: Fix coding style issues
@ 2017-05-04 16:13 ` Mathias Rav
  0 siblings, 0 replies; 14+ messages in thread
From: Mathias Rav @ 2017-05-04 16:13 UTC (permalink / raw)
  To: Greg Kroah-Hartman, devel, Oleg Drokin, Andreas Dilger,
	James Simmons
  Cc: Linux Kernel Mailing List, Lustre Development List

This patchset fixes two style issues in lprocfs_status.c related to
simple_strtoul and seq_printf (reported by checkpatch).

There's a slight change in lustre debugfs write semantics: Using kstrtox causes
EINVAL when the written number is followed by other (garbage) characters,
whereas previously the garbage would be ignored and such a write would succeed.

Mathias Rav (2):
      staging: lustre: lprocfs: Use kstrtouint_from_user
      staging: lustre: lprocfs: Use seq_puts

 .../lustre/lustre/obdclass/lprocfs_status.c        | 42 ++++++---------------
 1 file changed, 11 insertions(+), 31 deletions(-)

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2017-05-19  3:03 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-04 16:13 [lustre-devel] [PATCH 0/2] staging: lustre: lprocfs: Fix coding style issues Mathias Rav
2017-05-04 16:13 ` Mathias Rav
2017-05-04 16:13 ` [lustre-devel] [PATCH 1/2] staging: lustre: lprocfs: Use kstrtouint_from_user Mathias Rav
2017-05-04 16:13   ` Mathias Rav
2017-05-04 16:13   ` [lustre-devel] [PATCH 2/2] staging: lustre: lprocfs: Use seq_puts Mathias Rav
2017-05-04 16:13     ` Mathias Rav
2017-05-18 13:53   ` [lustre-devel] [PATCH 1/2] staging: lustre: lprocfs: Use kstrtouint_from_user Greg Kroah-Hartman
2017-05-18 13:53     ` Greg Kroah-Hartman
2017-05-18 14:48     ` [lustre-devel] " Dilger, Andreas
2017-05-18 14:48       ` Dilger, Andreas
2017-05-18 15:13       ` [lustre-devel] " Mathias Rav
2017-05-18 15:13         ` Mathias Rav
2017-05-19  3:02         ` [lustre-devel] " Dilger, Andreas
2017-05-19  3:02           ` Dilger, Andreas

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.