Re: net: rnpgbe: Pass an expression directly in rnpgbe_rm_adapter()
Markus Elfring <[email protected]> Thu, 16 Jul 2026 18:19:28 +0200
| Newsgroups | gmane.linux.network,gmane.linux.kernel.janitors,gmane.linux.kernel |
|---|---|
| Message-ID | <[email protected]> |
> Jonathan Corbet's article talks about dereferences. >=20 > p =3D tun->sk; > ^^^^^^^ > This is a dereference. >=20 > p =3D &tun->sk; > ^ > This is pointer math. It's not a dereference. Can such a development view be confusing? Is the operator =E2=80=9Caddress of=E2=80=9D applied only after a pointer = dereference attempt in this case? https://en.cppreference.com/c/language/operator_member_access Regards, Markus