synapticon / Etherlab_EtherCAT_Master

Clone of IgH EtherCAT Master with additional Vectioneer patches.
GNU Lesser General Public License v2.1
84 stars 54 forks source link

V4.15.7 #12

Closed Minipada closed 6 years ago

Minipada commented 6 years ago

I didn't test the runtime behavior, only compile one. This should be tested before being merged.

Minipada commented 6 years ago

I just added a commit removing an old patch after testing on Kernel 4.9 and 4.15.7. It compiles fine.

Minipada commented 6 years ago

It seems now alright to me. I could compile it for multiple kernels

Minipada commented 6 years ago

@fjes before merging, I would like to clear the indentations. Would this be alright?

#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 15, 0))
static void legacy_timer_emu_func(struct timer_list *t)
{
    struct legacy_timer_emu *lt = from_timer(lt, t, t);
    lt->function(lt->data);
}
#endif

@zivke after the indentation is solved, I will squash and ask you to merge :). Thanks

fjes commented 6 years ago

@Minipada This looks like it respects the CS used in the project defined here.

Minipada commented 6 years ago

Just squashed, can be merged. Thanks