lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4f5f34de-16ef-49aa-a438-455597b81935@RTEXMBS04.realtek.com.tw>
Date: Thu, 9 May 2024 14:18:23 +0800
From: Ping-Ke Shih <pkshih@...ltek.com>
To: Breno Leitao <leitao@...ian.org>, Ping-Ke Shih <pkshih@...ltek.com>,
        "Kalle Valo" <kvalo@...nel.org>
CC: <leit@...a.com>,
        "open list:REALTEK WIRELESS DRIVER (rtw88)"
	<linux-wireless@...r.kernel.org>,
        open list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH wireless-next] wifi: rtw88: Un-embed dummy device

Breno Leitao <leitao@...ian.org> wrote:

> Embedding net_device into structures prohibits the usage of flexible
> arrays in the net_device structure. For more details, see the discussion
> at [1].
> 
> Un-embed the net_device from the private struct by converting it
> into a pointer. Then use the leverage the new alloc_netdev_dummy()
> helper to allocate and initialize dummy devices.
> 
> [1] https://lore.kernel.org/all/20240229225910.79e224cf@kernel.org/
> 
> Signed-off-by: Breno Leitao <leitao@...ian.org>
> Acked-by: Ping-Ke Shih <pkshih@...ltek.com>
> Tested-by: Ping-Ke Shih <pkshih@...ltek.com>

1 patch(es) applied to rtw-next branch of rtw.git, thanks.

d0bcb10e7b94 wifi: rtw88: Un-embed dummy device

---
https://github.com/pkshih/rtw.git


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ