diff options
| author | Nathan Chancellor <[email protected]> | 2018-11-28 23:01:05 -0700 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2018-11-30 17:26:15 -0800 |
| commit | 97e6c858a26ee8a31719a08ae896ca682eb8978e (patch) | |
| tree | 6eb42d21c5d5c099fb4c499c0e6394c758ccb44a /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | 315c9e83010d63370fb0de160e52a21c3f3fa687 (diff) | |
net: usb: aqc111: Initialize wol_cfg with memset in aqc111_suspend
Clang warns:
drivers/net/usb/aqc111.c:1326:37: warning: suggest braces around
initialization of subobject [-Wmissing-braces]
struct aqc111_wol_cfg wol_cfg = { 0 };
^
{}
1 warning generated.
Use memset to initialize the object to take compiler instrumentation out
of the equation.
Fixes: e58ba4544c77 ("net: usb: aqc111: Add support for wake on LAN by MAGIC packet")
Signed-off-by: Nathan Chancellor <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions