diff options
| author | Ajay Singh <[email protected]> | 2018-04-23 22:03:20 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2018-04-25 15:54:15 +0200 |
| commit | 3f155eba93a1eee9363566940fc286d3eb7d4fbc (patch) | |
| tree | e244ef1b13f4b3b3c1848a16f7e86b7bad1272f5 /tools/perf/scripts | |
| parent | 35237fe4d442fb0044b607f261e339dfc37112e5 (diff) | |
staging: wilc1000: use sizeof(variable) for memory allocated to store key info
Changes to fix below checkpatch reported issues.
CHECK: Prefer kmalloc(sizeof(*priv->wilc_gtk[idx])...) over
kmalloc(sizeof(struct wilc_wfi_key)...)
CHECK: Prefer kmalloc(sizeof(*priv->wilc_ptk[idx])...) over
kmalloc(sizeof(struct wilc_wfi_key)...)
Signed-off-by: Ajay Singh <[email protected]>
Reviewed-by: Claudiu Beznea <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions