Commit 71eac0c0 authored by Felix Schlepper's avatar Felix Schlepper Committed by Greg Kroah-Hartman
Browse files

Staging: rtl8192e: Use struct_size



Using struct_size is encouraged because it is safer
than using sizeof and calculations by hand.

Signed-off-by: default avatarFelix Schlepper <f3sch.git@outlook.com>
Link: https://lore.kernel.org/r/54ea62a2b7628d3bdd5aa52df82c3e91704a2127.1656078068.git.f3sch.git@outlook.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent a725a29d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment