diff options
| author | Tudor Gheorghiu <[email protected]> | 2024-09-22 22:41:14 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2024-10-09 11:55:51 +0200 |
| commit | 064894731cb4f905325e4c8356bca88fb41039d3 (patch) | |
| tree | 4f0a20185fab543bf0e592cc6b764c1c211e1ea3 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | c1a5060ec80020ce879fa5b2a16875bd9a5ab930 (diff) | |
staging: rtl8712: use kmalloc_array
Adhere to Linux kernel coding style.
Reported by checkpatch:
WARNING: Prefer kmalloc_array over kmalloc with multiply
+ pxmitpriv->pxmitbuf = kmalloc(NR_XMITBUFF * sizeof(struct xmit_buf), GFP_ATOMIC);
Signed-off-by: Tudor Gheorghiu <[email protected]>
Reviewed-by: Philipp Hortmann <[email protected]>
Link: https://lore.kernel.org/r/ZvBy2lB_ok_OCmVI@redaops
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions