]> git.baikalelectronics.ru Git - kernel.git/commit
staging: rtlwifi: silence underflow warning
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 29 Sep 2017 07:51:17 +0000 (10:51 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 3 Oct 2017 16:36:25 +0000 (18:36 +0200)
commit4fc0f67577547a90e776cac7131db37a82c0722b
tree6ac575b2f7e20b9f5b74306870b0e6d4365dce0b
parent6ebfe8cd550699536ab8666e76c52bcd8fa5935d
staging: rtlwifi: silence underflow warning

I'm not totally certain that it's necessary to put an upper limit here.
I think it happens at lower levels.  But if we are going to do that then
we should have a lower bound as well.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtlwifi/core.c