Page MenuHomeFreeBSD

ofed/linuxkpi: use proper accessor function
ClosedPublic

Authored by bz on Mar 21 2021, 9:22 PM.
Tags
None
Referenced Files
F149748730: D29364.diff
Thu, Mar 26, 6:21 PM
Unknown Object (File)
Tue, Mar 17, 12:53 PM
Unknown Object (File)
Mon, Mar 16, 8:33 PM
Unknown Object (File)
Fri, Mar 6, 5:56 AM
Unknown Object (File)
Feb 24 2026, 3:53 PM
Unknown Object (File)
Feb 24 2026, 8:57 AM
Unknown Object (File)
Feb 21 2026, 12:55 AM
Unknown Object (File)
Jan 14 2026, 3:24 AM
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