Re: ni_usb: bug when setting kernel timer

Frank Mori Hess <[email protected]>
Newsgroups gmane.linux.hardware.gpib.general
Message-ID <CAJz5OpcFxZpy=sKgF9u-Qyr6Ah44ta4qREK2VSApVBCk4e2mgA@mail.gmail.com>
On Tue, May 29, 2018 at 7:04 AM, Derek Kozel <[email protected]> wrote:
>
> So < 4.14 and > 4.14 are clear straightforward. 4.14 is the edge case where
> the timer_list function prototype does not match timer_setup.
>
> The GPIB code is inconsistent in how the timer functions are used. For 4.14

What is inconsistent is the kernel's 4.14 timer_setup code (which is
garbage).  To work around it, we'll have to make the gpib code never
call timer_setup directly and add a COMPAT_TIMER_SETUP macro.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.