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)
Fri, Sep 27, 11:08 AM
Unknown Object (File)
Fri, Sep 27, 8:53 AM
Unknown Object (File)
Tue, Sep 24, 4:44 PM
Unknown Object (File)
Wed, Sep 18, 12:05 PM
Unknown Object (File)
Thu, Sep 12, 11:39 AM
Unknown Object (File)
Sun, Sep 8, 9:13 PM
Unknown Object (File)
Sun, Sep 8, 9:13 PM
Unknown Object (File)
Sun, Sep 8, 9:09 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