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)
Nov 18 2024, 4:54 PM
Unknown Object (File)
Oct 14 2024, 1:10 PM
Unknown Object (File)
Oct 14 2024, 1:10 PM
Unknown Object (File)
Oct 14 2024, 1:10 PM
Unknown Object (File)
Oct 14 2024, 12:48 PM
Unknown Object (File)
Oct 12 2024, 1:03 AM
Unknown Object (File)
Sep 30 2024, 11:38 PM
Unknown Object (File)
Sep 30 2024, 11:38 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