diff options
| author | Ajay Singh <ajay.kathat@microchip.com> | 2018-09-25 11:53:43 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-09-25 20:53:57 +0200 |
| commit | ba853fe6f8a4657ec675d53a34d6bc6cbb7d1638 (patch) | |
| tree | 59482a70377a9d1de685b529988c7eca18055ea7 /tools/perf/scripts/python/stackcollapse.py | |
| parent | fb8ec2158fe85f440350bfb467129e2ae5204879 (diff) | |
| download | kernel-ba853fe6f8a4657ec675d53a34d6bc6cbb7d1638.tar.gz | |
staging: wilc1000: refactor wilc_set_multicast_list() function
Refactor wilc_set_multicast_list() by making below changes:
o use kmalloc_array
o remove unnecessary res
o add u8 *cur_mc
o use i as index
o use '%pM' extension in netdev_dbg()
The below checkpatch issue is also resolved after code refactor.
'spaces preferred around that '/' (ctx:VxV)'
Suggested-by: Joe Perches <joe@perches.com>
Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
