Page MenuHomeFreeBSD

ofed/linuxkpi: use proper accessor function
ClosedPublic

Authored by bz on Mar 21 2021, 9:22 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Jun 21, 10:17 PM
Unknown Object (File)
Fri, Jun 19, 11:35 PM
Unknown Object (File)
May 21 2026, 12:27 AM
Unknown Object (File)
May 19 2026, 5:34 AM
Unknown Object (File)
May 16 2026, 3:12 AM
Unknown Object (File)
May 16 2026, 3:12 AM
Unknown Object (File)
May 16 2026, 3:10 AM
Unknown Object (File)
May 14 2026, 2:45 PM
Subscribers

Details

Summary

In the notifier event callback function rather than casting directly
to the expected type use the proper accessor function as the mlx drivers
already do.
This is preparational work to allow us to improve the struct net_device
is struct ifnet compat code shortcut in the future.

Obtained-from: bz_iwlwifi
Sponsored-by: The FreeBSD Foundation
MFC-after: 2 weeks
Reviewed-by: ...

Diff Detail

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