mbox series

[ovs-dev,v2,0/8] Address clang analyze warnings.

Message ID 20240820135549.1726748-1-mkp@redhat.com
Headers show
Series Address clang analyze warnings. | expand

Message

Mike Pattrick Aug. 20, 2024, 1:55 p.m. UTC
This series addresses some warnings produced by clang analyze, and reduces the
total number of warnings down from 51 to 30. Asside from the theme of reducing
clang analyze warnings, the individual patches aren't directly related to each
other.

Mike Pattrick (8):
  ovsdb-error: Annotate non-null functions.
  dpif-netdev: Remove undefined integer division.
  jsonrpc: Don't access ovs_list members directly.
  netlink-socket: Initialize socket family.
  classifier: Store n_indices between usage.
  vconn: Always properly free flow stats reply.
  mcast-snooping: Properly check group_get_lru return code.
  mcast-snooping: Don't access ovs_list members directly.

 lib/classifier.c     | 12 ++++++++----
 lib/dpif-netdev.c    | 18 +++++++++---------
 lib/jsonrpc.c        |  5 +++--
 lib/mcast-snooping.c |  8 +++++---
 lib/netlink-socket.c |  1 +
 lib/ovsdb-error.h    |  5 +++++
 lib/vconn.c          | 13 +++++++++----
 7 files changed, 40 insertions(+), 22 deletions(-)