linux-4.9-rc1/drivers/staging/lustre/lustre/osc/osc_request.c:973: always false test ?

David Binderman dcb314 at hotmail.com
Mon Oct 17 07:33:33 UTC 2016


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



More information about the devel mailing list