Re: [PATCH -next 10/10] wifi: cfg80211: convert cookie output to input parameter

Arend van Spriel <[email protected]> Mon, 27 Jul 2026 00:12:09 +0200
Newsgroups dev.linux.lists.brcm80211,org.kernel.vger.linux-wireless
Message-ID <[email protected]>
Op 26 juli 2026 21:38:03 schreef Johannes Berg <[email protected]>:

> On Sun, 2026-07-26 at 21:25 +0200, Arend van Spriel wrote:
>> The tx_control_port op is excluded: its cookie pointer is nullable
>> (passed as NULL when dont_wait_for_ack is set), so the nullable
>> pointer semantics are still required.
>
> Well, kind of? Since we guarantee non-zero cookies, we could just pass
> zero for this case, maybe that'd be nicer here?

Crossed my mind as well. Will look into it.

Gr. AvS