aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts
diff options
context:
space:
mode:
authorMichael Straube <straube.linux@gmail.com>2022-04-17 19:54:38 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-04-20 18:31:18 +0200
commit4e58dfad41320e65a3411c2c123fb115d3513335 (patch)
tree91addef8a4464aa65e0bb1af8f9526f83d1a0323 /tools/perf/scripts
parentstaging: r8188eu: rename fields of struct rt_firmware_hdr (diff)
downloadlinux-4e58dfad41320e65a3411c2c123fb115d3513335.tar.gz
linux-4e58dfad41320e65a3411c2c123fb115d3513335.zip
staging: r8188eu: use sizeof instead of hardcoded firmware header size
Use sizeof() instead of hardcoding the firmware header size and add a compile time check to ensure struct rt_firmware_hdr has the correct size. Acked-by: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: Michael Straube <straube.linux@gmail.com> Link: https://lore.kernel.org/r/20220417175441.13830-6-straube.linux@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions