Skip to content

Mesh code clean up

Inga Stotland linux-bluetooth 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10mesh: Remove unused structure membermesh/mesh.c+0 -30 replies
2/10mesh: Free allocated agent in mesh_remove_agent()mesh/agent.c+4 -60 replies
3/10mesh: Remove agent when freeing node's dynamic resourcesmesh/node.c+1 -00 replies
4/10mesh: Add finalization of a newly created nodemesh/mesh.c mesh/node.c mesh/node.h+28 -160 replies
5/10mesh: Remove unused function prototypes from node.hmesh/node.h+0 -21 reply
6/10mesh: Create a queue of pending requests in mesh_init()mesh/mesh.c+4 -100 replies
7/10mesh: Clean up Import() method callmesh/mesh.c mesh/node.c mesh/node.h+9 -290 replies
8/10mesh: Clean up Attach() method callmesh/mesh.c mesh/node.c mesh/node.h+16 -290 replies
9/10mesh: Fix memory leak in Create, Import & Attach methodsmesh/mesh.c+4 -00 replies
10/10mesh: Clean up Join() methodmesh/mesh.c+22 -270 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH BlueZ 00/10] Mesh code clean up

This patchset is contains a number of memory leak fixes and some stylistic changes that hopefully result in more compact and readable code.

Inga Stotland (10):
mesh: Remove unused structure member
mesh: Free allocated agent in mesh_remove_agent()
mesh: Remove agent when freeing node's dynamic resources
mesh: Add finalization of a newly created node
mesh: Remove unused function prototypes from node.h
mesh: Create a queue of pending requests in mesh_init()
mesh: Clean up Import() method call
mesh: Clean up Attach() method call
mesh: Fix memory leak in Create, Import & Attach methods
mesh: Clean up Join() method

 mesh/agent.c |  10 ++--
 mesh/mesh.c  | 136 ++++++++++++++++++---------------------------------
 mesh/node.c  |  57 ++++++++++++---------
 mesh/node.h  |   7 ++-
 4 files changed, 88 insertions(+), 122 deletions(-)
Signature · 1 line
2.26.2