Skip to content

staging: lustre: lprocfs: Fix coding style issues

Mathias Rav lkml lustre-devel 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 0 repliesNew
  2. v12 patches 4 repliesSuperseded

Changes in v2 from the cover letter

- Patch 1/2 now completely removes lprocfs_{rd,wr}_uint
- Patch 2/2 unchanged

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2staging: lustre: Use kstrtouint_from_user in ldlm_rw_uintdrivers/staging/lustre/lustre/ldlm/ldlm_resource.c drivers/staging/lustre/lustre/obdclass/lprocfs_status.c+19 -350 replies
2/2staging: lustre: lprocfs: Use seq_puts instead of seq_printfdrivers/staging/lustre/lustre/obdclass/lprocfs_status.c+10 -100 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] staging: lustre: lprocfs: Fix coding style issues

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

v1->v2:
- Patch 1/2 now completely removes lprocfs_{rd,wr}_uint
- Patch 2/2 unchanged

Mathias Rav (2):
staging: lustre: Use kstrtouint_from_user in ldlm_rw_uint
staging: lustre: lprocfs: Use seq_puts instead of seq_printf

 .../staging/lustre/lustre/ldlm/ldlm_resource.c    | 20 +++++++-
 .../lustre/lustre/obdclass/lprocfs_status.c       | 54 ++++-----------------
 2 files changed, 29 insertions(+), 45 deletions(-)