Lustre-devel archive on 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 at linuxfoundation.org
  0 siblings, 1 reply; 2+ 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] 2+ messages in thread

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

Thread overview: 2+ 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox