mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: linux-4.9-rc1/drivers/staging/lustre/lustre/osc/osc_request.c:973: always false test ?
       [not found] <VI1PR08MB1022232C214C9435587602379CD00@VI1PR08MB1022.eurprd08.prod.outlook.com>
@ 2016-10-17  8:31 ` gregkh
  0 siblings, 0 replies; only message in thread
From: gregkh @ 2016-10-17  8:31 UTC (permalink / raw)
  To: David Binderman
  Cc: oleg.drokin, andreas.dilger, jsimmons, lustre-devel, devel, linux-kernel

On Mon, Oct 17, 2016 at 07:33:33AM +0000, David Binderman wrote:
> Hello there,
> 
> 
> 
> linux-4.9-rc1/drivers/staging/lustre/lustre/osc/osc_request.c:973]: (style) Checking if unsigned variable 'cli.cl_avail_grant' is less than zero.
> 
> 
> 
> Source code is
> 
> 
> 
>    if (cli->cl_avail_grant < 0) {
> 
> 
> 
> Suggest code rework.

Great!  Please send a patch.

thanks,

greg k-h

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-10-17  8:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <VI1PR08MB1022232C214C9435587602379CD00@VI1PR08MB1022.eurprd08.prod.outlook.com>
2016-10-17  8:31 ` linux-4.9-rc1/drivers/staging/lustre/lustre/osc/osc_request.c:973: always false test ? gregkh

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