Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1348550

[PATCH 05/27] staging: lustre: remove annoying message in parse_nidrange

From James Simmons <jsimmons@infradead.org>
Newsgroups linux.kernel
Subject [PATCH 05/27] staging: lustre: remove annoying message in parse_nidrange
Date 2016-03-02 23:10 +0100
Message-ID <r8n83-5Ux-99@gated-at.bofh.it> (permalink)
References <r8n7Z-5Ux-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Li Xi <lixi@ddn.com>

When setting TBF rules of jobid, parse_nidrange() prints warning
messages. However, this is unnecessary and annoying since paring
a TBF rule will always try to parse the jobid like a nid.

Signed-off-by: Li Xi <lixi@ddn.com>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-7647
Reviewed-on: http://review.whamcloud.com/17916
Reviewed-by: Emoly Liu <emoly.liu@intel.com>
Reviewed-by: Bobi Jam <bobijam@hotmail.com>
Reviewed-by: Lai Siyao <lai.siyao@intel.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
---
 drivers/staging/lustre/lnet/lnet/nidstrings.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/drivers/staging/lustre/lnet/lnet/nidstrings.c b/drivers/staging/lustre/lnet/lnet/nidstrings.c
index 9d1c7fd..ebf468f 100644
--- a/drivers/staging/lustre/lnet/lnet/nidstrings.c
+++ b/drivers/staging/lustre/lnet/lnet/nidstrings.c
@@ -270,7 +270,6 @@ parse_nidrange(struct cfs_lstr *src, struct list_head *nidlist)
 
 	return 1;
 failed:
-	CWARN("can't parse nidrange: \"%.*s\"\n", tmp.ls_len, tmp.ls_str);
 	return 0;
 }
 
-- 
1.7.1

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 00/27] Third batch of LNet fixes James Simmons <jsimmons@infradead.org> - 2016-03-02 23:10 +0100
  [PATCH 09/27] staging: lustre: set task state before scheduling in lnet_sock_accept James Simmons <jsimmons@infradead.org> - 2016-03-02 23:10 +0100
  [PATCH 05/27] staging: lustre: remove annoying message in parse_nidrange James Simmons <jsimmons@infradead.org> - 2016-03-02 23:10 +0100
  Re: [PATCH 00/27] Third batch of LNet fixes Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2016-03-03 00:30 +0100
    RE: [lustre-devel] [PATCH 00/27] Third batch of LNet fixes "Simmons, James A." <simmonsja@ornl.gov> - 2016-03-03 01:00 +0100

csiph-web