staging: wfx: fix possible overflow on jiffies comparaison
authorJérôme Pouiller <jerome.pouiller@silabs.com>
Wed, 15 Jan 2020 13:55:06 +0000 (13:55 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 Jan 2020 19:59:51 +0000 (20:59 +0100)
commitdef39be019b6494acd3570ce6f3f11ba1c3203a3
tree92c2c482393ec7f333f99e9a6d96a7796aacde14
parent4e1514c940fc64e7fb922a9390742f8e28a460ae
staging: wfx: fix possible overflow on jiffies comparaison

MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

It is recommended to use function time_*() to compare jiffies.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
Link: https://lore.kernel.org/r/20200115135338.14374-45-Jerome.Pouiller@silabs.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wfx/data_tx.c