]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net: usb: ax88179_178a: move priv to driver_priv
authorJustin Chen <justinpopo6@gmail.com>
Thu, 21 Jul 2022 00:28:15 +0000 (17:28 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 15 Jan 2024 17:51:27 +0000 (18:51 +0100)
commit231752a0a05d84dd7b315ac795f6abff0c76f906
tree7b2f9968426110765926e8dc6136479ba184d1e7
parentd800d18ba13220d36b04495d08f881b0aa35e11d
net: usb: ax88179_178a: move priv to driver_priv

commit 2bcbd3d8a7b4525cdb741fe82330edb6f5452c7f upstream.

We need more space to save WoL context. So lets allocate memory
for ax88179_data instead of using struct usbnet data field which
only supports 5 words. We continue to use the struct usbnet data
field for multicast filters. However since we no longer have the
private data stored there, we can shift it to the beginning.

Signed-off-by: Justin Chen <justinpopo6@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Cc: Jeffery Miller <jefferymiller@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/usb/ax88179_178a.c