Re: [PATCH 1/2] staging: lustre: lnet: lnet: do not initialise 0

2014-10-24 Thread Dmitry Voytik
On Sat, Oct 18, 2014 at 09:04:43PM +0400, Sergei Shtylyov wrote: > Hello. > > On 10/18/2014 8:03 AM, Balavasu wrote: > > >-static int check_routers_before_use = 0; > >+static int check_routers_before_use = {0}; > >Eh? I thought {} is only for arrays/structures... It seems like this is from

[PATCH 1/2] staging: lustre: lnet: lnet: do not initialise 0

2014-10-24 Thread Balavasu
This patch fixes the checkpatch.pl issue Error: do not initialise statics to 0 or NULL for time Signed-off-by: Balavasu --- drivers/staging/lustre/lnet/lnet/router.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/lustre/lnet/lnet/router.c b/driver

Re: [PATCH 1/2] staging: lustre: lnet: lnet: do not initialise 0

2014-10-18 Thread Sergei Shtylyov
Hello. On 10/18/2014 8:03 AM, Balavasu wrote: This patch fixes the checkpatch.pl issue Error:do not initialise statics to 0 or NULL Signed-off-by: Balavasu --- drivers/staging/lustre/lnet/lnet/router.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drive

[PATCH 1/2] staging: lustre: lnet: lnet: do not initialise 0

2014-10-17 Thread Balavasu
This patch fixes the checkpatch.pl issue Error:do not initialise statics to 0 or NULL Signed-off-by: Balavasu --- drivers/staging/lustre/lnet/lnet/router.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/lustre/lnet/lnet/router.c b/drivers/staging/