mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Karthik Nayak <karthik.188@gmail.com>
To: linux-kernel@vger.kernel.org, devel@driverdev.osuosl.org
Cc: lustre-devel@lists.lustre.org, kirill.shutemov@linux.intel.com,
	liang.zhen@intel.com, gregkh@linuxfoundation.org,
	jsimmons@infradead.org, andreas.dilger@intel.com,
	oleg.drokin@intel.com, Karthik Nayak <Karthik.188@gmail.com>
Subject: [PATCH] staging: lustre: selftest: Make brw_inject_one_error() static
Date: Fri, 23 Dec 2016 21:12:44 +0530	[thread overview]
Message-ID: <20161223154244.29145-1-Karthik.188@gmail.com> (raw)

Since the function brw_inject_one_error() is used only within
brw_test.c, make it static. This was reported as a warning by sparse.

Signed-off-by: Karthik Nayak <Karthik.188@gmail.com>
---
 drivers/staging/lustre/lnet/selftest/brw_test.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/lustre/lnet/selftest/brw_test.c b/drivers/staging/lustre/lnet/selftest/brw_test.c
index 67b460f..b9ac34e 100644
--- a/drivers/staging/lustre/lnet/selftest/brw_test.c
+++ b/drivers/staging/lustre/lnet/selftest/brw_test.c
@@ -136,7 +136,7 @@ brw_client_init(struct sfw_test_instance *tsi)
 	return 0;
 }
 
-int brw_inject_one_error(void)
+static int brw_inject_one_error(void)
 {
 	struct timespec64 ts;
 
-- 
2.10.2

             reply	other threads:[~2016-12-23 15:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-23 15:42 Karthik Nayak [this message]
2017-01-03 14:05 ` Greg KH
2017-01-13  1:21 ` [lustre-devel] " Dilger, Andreas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20161223154244.29145-1-Karthik.188@gmail.com \
    --to=karthik.188@gmail.com \
    --cc=andreas.dilger@intel.com \
    --cc=devel@driverdev.osuosl.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=jsimmons@infradead.org \
    --cc=kirill.shutemov@linux.intel.com \
    --cc=liang.zhen@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lustre-devel@lists.lustre.org \
    --cc=oleg.drokin@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome