diff options
author | Thomas Haller <thaller@redhat.com> | 2014-06-10 18:20:25 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2014-06-10 21:45:33 +0200 |
commit | bb44548b924d41b148c39ab5f4907c52bcba1003 (patch) | |
tree | f29ced1bac80257805f94be7691229e1f4843941 /lib/msg.c | |
parent | 6608cd5d7242a8b58e62208e71b6c276434566ec (diff) | |
download | libnl-bb44548b924d41b148c39ab5f4907c52bcba1003.tar.gz |
route/link: pass proper type to sizeof() for calloc() in vlan_parse()
This fixes the following coverity warning:
lib/route/link/vlan.c:148:23:warning – Result of 'calloc' is converted to a pointer of type 'struct vlan_map', which is incompatible with sizeof operand type 'struct ifla_vlan_qos_mapping'
This was not a real problem, because the types are effectively
the same.
Acked-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: Thomas Haller <thaller@redhat.com>
Diffstat (limited to 'lib/msg.c')
0 files changed, 0 insertions, 0 deletions