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)
Tue, Mar 25, 1:19 AM
Unknown Object (File)
Mar 11 2025, 2:15 AM
Unknown Object (File)
Feb 26 2025, 10:12 PM
Unknown Object (File)
Feb 24 2025, 6:39 PM
Unknown Object (File)
Feb 5 2025, 6:12 AM
Unknown Object (File)
Jan 27 2025, 3:05 PM
Unknown Object (File)
Jan 18 2025, 6:07 AM
Unknown Object (File)
Dec 27 2024, 10:42 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