All of lore.kernel.org
 help / color / mirror / Atom feed
* [lustre-devel] linux-4.9-rc1/drivers/staging/lustre/lustre/osc/osc_request.c:973: always false test ?
@ 2016-10-17  7:33 David Binderman
  2016-10-17  8:31   ` gregkh
  0 siblings, 1 reply; 3+ messages in thread
From: David Binderman @ 2016-10-17  7:33 UTC (permalink / raw)
  To: lustre-devel

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.


Regards


David Binderman

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-10-17  8:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-17  7:33 [lustre-devel] linux-4.9-rc1/drivers/staging/lustre/lustre/osc/osc_request.c:973: always false test ? David Binderman
2016-10-17  8:31 ` gregkh at linuxfoundation.org
2016-10-17  8:31   ` gregkh

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.