Page MenuHomeFreeBSD

ofed/linuxkpi: use proper accessor function
ClosedPublic

Authored by bz on Mar 21 2021, 9:22 PM.
Tags
None
Referenced Files
F166314048: D29364.id86276.diff
Wed, Aug 12, 8:33 PM
Unknown Object (File)
Tue, Aug 11, 4:39 AM
Unknown Object (File)
Mon, Aug 10, 7:41 AM
Unknown Object (File)
Fri, Aug 7, 6:52 PM
Unknown Object (File)
Tue, Aug 4, 1:55 AM
Unknown Object (File)
Mon, Aug 3, 1:32 AM
Unknown Object (File)
Sun, Jul 19, 2:42 PM
Unknown Object (File)
Sun, Jul 19, 1:26 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