diff options
| author | Christophe Ricard <[email protected]> | 2015-08-17 08:33:43 +0200 |
|---|---|---|
| committer | Samuel Ortiz <[email protected]> | 2015-08-17 10:45:19 +0200 |
| commit | adca3c38d807b341a965d0aba8721d0784d8471b (patch) | |
| tree | a052a93b94330352f8bd78b52ee6de79e6b8fd58 /tools/perf/scripts/python | |
| parent | fe202fe95564023223ce1910c9e352f391abb1d5 (diff) | |
nfc: netlink: Warning fix
When NFC_ATTR_VENDOR_DATA is not set, data_len is 0 and data is NULL.
Fixes the following warning:
net/nfc/netlink.c:1536:3: warning: 'data' may be used uninitialized
+in this function [-Wmaybe-uninitialized]
return cmd->doit(dev, data, data_len);
Cc: [email protected]
Signed-off-by: Christophe Ricard <[email protected]>
Signed-off-by: Samuel Ortiz <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions