Skip to content

staging:lustre:lnet:selftest: fix sparse warnings

Anton Saraev lkml 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 2 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2staging:lustre:lnet:selftest: fix sparse warningsdrivers/staging/lustre/lnet/selftest/conctl.c drivers/staging/lustre/lnet/selftest/conrpc.c drivers/staging/lustre/lnet/selftest/framework.c +3 more+75 -750 replies
2/2staging:lustre:lnet:selftest: remove unused functiondrivers/staging/lustre/lnet/selftest/module.c+0 -110 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 00/02] staging:lustre:lnet:selftest: fix sparse warnings

As I can understand warning in previous series is about unused function (I don't see other differences in output of make with C=1, W=1 and W=2). I remove "static" for lnet_selftest_structure_assertion from first patch. Maybe I should merge patches in one but I think that addition of static declaration and deletion of function should be in two different patches. So the second patch depends on the first...

Anton Saraev (2):
staging:lustre:lnet:selftest: fix sparse warnings staging:lustre:lnet:selftest: remove unused function

 drivers/staging/lustre/lnet/selftest/conctl.c    | 34 ++++++++--------
 drivers/staging/lustre/lnet/selftest/conrpc.c    | 20 +++++-----
 drivers/staging/lustre/lnet/selftest/framework.c | 50 ++++++++++++------------
 drivers/staging/lustre/lnet/selftest/module.c    | 15 +------
 drivers/staging/lustre/lnet/selftest/rpc.c       | 34 ++++++++--------
 drivers/staging/lustre/lnet/selftest/timer.c     |  8 ++--
 6 files changed, 75 insertions(+), 86 deletions(-)
Signature · 1 line
1.9.1