ipmi: kill off 'timespec' usage again
authorArnd Bergmann <arnd@arndb.de>
Fri, 8 Nov 2019 20:34:27 +0000 (21:34 +0100)
committerCorey Minyard <cminyard@mvista.com>
Fri, 8 Nov 2019 22:05:14 +0000 (16:05 -0600)
commit8d73b2aeb8088517b0895f209b68237ea1bc1c02
treef472f489de6af9fdd86fa83de936cdbc365c29c0
parent0d8633bf5311177c9a26d75daec677cd87e3261b
ipmi: kill off 'timespec' usage again

'struct timespec' is getting removed from the kernel. The usage in ipmi
was fixed before in commit 48862ea2ce86 ("ipmi: Update timespec usage
to timespec64"), but unfortunately it crept back in.

The busy looping code can better use ktime_t anyway, so use that
there to simplify the implementation.

Fixes: cbb19cb1eef0 ("ipmi_si: Convert timespec64 to timespec")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Message-Id: <20191108203435.112759-5-arnd@arndb.de>
Signed-off-by: Corey Minyard <cminyard@mvista.com>
drivers/char/ipmi/ipmi_si_intf.c