Page MenuHomeFreeBSD

mlx4: apply upstream changes to convert to timer_setup() LinuxKPI
ClosedPublic

Authored by bz on Mon, Sep 14, 10:54 PM.
Tags
None
Referenced Files
F174718127: D59679.id186995.diff
Mon, Oct 5, 11:18 AM
Unknown Object (File)
Sun, Oct 4, 10:22 PM
Unknown Object (File)
Sat, Oct 3, 4:46 AM
Unknown Object (File)
Sat, Oct 3, 2:21 AM
Unknown Object (File)
Fri, Oct 2, 8:34 PM
Unknown Object (File)
Fri, Oct 2, 8:07 PM
Unknown Object (File)
Thu, Oct 1, 11:22 PM
Unknown Object (File)
Thu, Oct 1, 8:53 PM
Subscribers

Details

Summary

Apply Linux change 55c0fcc3de460 "Convert timers to use timer_setup()"
to get us out of Linux version 4.15 (and earlier) KPIs.

MFC after: 3 days

Test Plan

Please feel free to add other poeple to review.
I CANNOT TEST THIS.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

bz requested review of this revision.Mon, Sep 14, 10:54 PM
sys/dev/mlx4/mlx4_core/mlx4_catas.c
231–232

Switch to timer_container_of() right away.

Also apply 41cb08555c416 from_timer -> timer_container_of.

This revision is now accepted and ready to land.Tue, Sep 15, 5:27 AM