Re: net: rnpgbe: Pass an expression directly in rnpgbe_rm_adapter()

From: Markus Elfring

Date: Thu Jul 16 2026 - 13:00:39 EST


> Jonathan Corbet's article talks about dereferences.
>
> p = tun->sk;
> ^^^^^^^
> This is a dereference.
>
> p = &tun->sk;
> ^
> This is pointer math. It's not a dereference.
Can such a development view be confusing?

Is the operator “address of” applied only after a pointer dereference attempt in this case?
https://en.cppreference.com/c/language/operator_member_access

Regards,
Markus