]> git.ipfire.org Git - thirdparty/openwrt.git/commit
realtek: kzalloc + kcalloc to kzalloc 22651/head
authorRosen Penev <rosenp@gmail.com>
Tue, 7 Apr 2026 22:03:42 +0000 (15:03 -0700)
committerJonas Jelonek <jelonek.jonas@gmail.com>
Tue, 26 May 2026 08:30:40 +0000 (10:30 +0200)
commita302626ef448242574d00af0acc5ed1ef851cbe3
treeceb37fa2a3d4fdafb30cef397c6541a1d83acbf9
parent383c4469e4fdaa365cbf3a1e02bde2b50a229b48
realtek: kzalloc + kcalloc to kzalloc

Use a flexible array member to combine allocations.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/22651
Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
target/linux/realtek/files-6.18/drivers/net/dsa/rtl83xx/common.c
target/linux/realtek/files-6.18/drivers/net/dsa/rtl83xx/rtl-otto.h