]> www.infradead.org Git - users/jedix/linux-maple.git/commit
staging: rtl8712: Calculate size from pointer
authorManisha Singh <masingh.linux@gmail.com>
Wed, 28 Aug 2024 22:21:55 +0000 (03:51 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 29 Aug 2024 09:56:16 +0000 (11:56 +0200)
commitb7059df44f12a481ed257b242607c0ff64b36a95
treee484f5a70cfae529465790ed9b599c9370f09786
parent399763befd12a0b1e396ca7c6949bfc2f79583ae
staging: rtl8712: Calculate size from pointer

Calculate the size from the pointer instead of struct to adhere to kernel
coding style.

Signed-off-by: Manisha Singh <masingh.linux@gmail.com>
Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
Link: https://lore.kernel.org/r/20240828222153.68062-4-masingh.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8712/rtl871x_io.c