diff options
| author | Martin Kaiser <[email protected]> | 2022-07-13 09:58:04 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2022-07-14 15:47:21 +0200 |
| commit | c1da5a7befa82c01e06c8ec2059bdc9ed422033b (patch) | |
| tree | c076f13ca66895ed7512c06495eb5132a34974a2 /tools/perf/scripts/python/bin/net_dropmonitor-report | |
| parent | 4cdb845db3217091737159908fcba1f643d818a1 (diff) | |
staging: r888eu: use dynamic allocation for efuse buffer
Use kmalloc to allocate the efuse buffer in ReadAdapterInfo8188EU and
free it on exit. This is better than using a 512 byte array on the stack.
It's ok to drop the __aligned(4) qualifier. kmalloc aligns to
ARCH_KMALLOC_MINALIGN, this is at least 8 bytes.
Suggested-by: Dan Carpenter <[email protected]>
Suggested-by: Larry Finger <[email protected]>
Acked-by: Larry Finger <[email protected]>
Signed-off-by: Martin Kaiser <[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/bin/net_dropmonitor-report')
0 files changed, 0 insertions, 0 deletions