diff options
| author | Michael Straube <[email protected]> | 2022-04-17 19:54:38 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2022-04-20 18:31:18 +0200 |
| commit | 4e58dfad41320e65a3411c2c123fb115d3513335 (patch) | |
| tree | 91addef8a4464aa65e0bb1af8f9526f83d1a0323 /tools/perf/scripts/python | |
| parent | 60ca4cdf50ae184c868c6f5c05f7415f2383938b (diff) | |
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 <[email protected]>
Signed-off-by: Michael Straube <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions