public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/02] staging:lustre:lnet:selftest: fix sparse warnings
@ 2014-10-29  4:29 Anton Saraev
  2014-10-29  4:29 ` [PATCH 01/02] " Anton Saraev
  2014-10-29  4:29 ` [PATCH 02/02] staging:lustre:lnet:selftest: remove unused function Anton Saraev
  0 siblings, 2 replies; 6+ messages in thread
From: Anton Saraev @ 2014-10-29  4:29 UTC (permalink / raw)
  To: gregkh
  Cc: antonysaraev, oleg.drokin, andreas.dilger, heenasirwani, bergwolf,
	amir.shehata, gdonald, devel, linux-kernel

Patch fix simple sparse warnings: make functions static and remove
unused code. I'm doing only little testing: module was loaded properly,
output of lst without real server is the same as before.

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

-- 
1.9.1


^ permalink raw reply	[flat|nested] 6+ messages in thread
* [PATCH v2 00/02] staging:lustre:lnet:selftest: fix sparse warnings
@ 2014-10-29 19:41 Anton Saraev
  2014-10-29 19:41 ` [PATCH v2 02/02] staging:lustre:lnet:selftest: remove unused function Anton Saraev
  0 siblings, 1 reply; 6+ messages in thread
From: Anton Saraev @ 2014-10-29 19:41 UTC (permalink / raw)
  To: gregkh
  Cc: antonysaraev, oleg.drokin, andreas.dilger, heenasirwani, bergwolf,
	amir.shehata, gdonald, devel, linux-kernel

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

-- 
1.9.1


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

end of thread, other threads:[~2014-10-29 19:42 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-29  4:29 [PATCH 00/02] staging:lustre:lnet:selftest: fix sparse warnings Anton Saraev
2014-10-29  4:29 ` [PATCH 01/02] " Anton Saraev
2014-10-29  8:37   ` [PATCH v2 " Greg KH
2014-10-29  4:29 ` [PATCH 02/02] staging:lustre:lnet:selftest: remove unused function Anton Saraev
2014-10-29  8:37   ` [PATCH v2 " Greg KH
  -- strict thread matches above, loose matches on Subject: below --
2014-10-29 19:41 [PATCH v2 00/02] staging:lustre:lnet:selftest: fix sparse warnings Anton Saraev
2014-10-29 19:41 ` [PATCH v2 02/02] staging:lustre:lnet:selftest: remove unused function Anton Saraev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox