lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1438745570.2679.2.camel@perches.com>
Date:	Tue, 04 Aug 2015 20:32:50 -0700
From:	Joe Perches <joe@...ches.com>
To:	Jandy Gou <qingsong.gou@...telecom.com>
Cc:	gregkh@...uxfoundation.org, oleg.drokin@...el.com,
	andreas.dilger@...el.com, jsimmons@...radead.org,
	jmmahler@...il.com, heenasirwani@...il.com, shuey@...due.edu,
	haticeerturk27@...il.com, HPDD-discuss@...ts.01.org,
	devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] staging: lustre: Fix coding style errors

On Tue, 2015-08-04 at 16:10 +0800, Jandy Gou wrote:
> Signed-off-by: Jandy Gou <qingsong.gou@...telecom.com>
[]
> diff --git a/drivers/staging/lustre/lnet/klnds/o2iblnd/o2iblnd.h b/drivers/staging/lustre/lnet/klnds/o2iblnd/o2iblnd.h
[]
> @@ -721,7 +721,7 @@ kiblnd_nid2peerlist (lnet_nid_t nid)
>  	unsigned int hash =
>  		((unsigned int)nid) % kiblnd_data.kib_peer_hash_size;
>  
> -	return (&kiblnd_data.kib_peers [hash]);
> +	return (&kiblnd_data.kib_peers[hash]);

Please run your own patches though checkpatch and
please remove the unnecessary parenthesis around
the return value at the same time.


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ