genl: Make iovec parameter const
Status from this message: Applied, thanks.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | genl: Make iovec parameter constell/ ell/ | +3 | 3 replies | |
| 2/2 | unit: Added test for l_genl_msg_append_attrv()unit/ | +47 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] genl: Make iovec parameter const
This set of patches makes the iovec parameter of l_genl_msg_append_attrv() function const since it isn't modified by that function. This allows a pointer to a const struct iovec to be passed as an argument without casting away the const. Of course, a pointer to a non-const iovec may still be passed without a cast as well. A new unit test for l_genl_msg_append_attrv() is also added.
Ossama Othman (2):
genl: Make iovec parameter const
unit: Added test for l_genl_msg_append_attrv()
ell/genl.c | 3 ++- ell/genl.h | 2 +- unit/test-genl-msg.c | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 50 insertions(+), 2 deletions(-)
Signature · 1 line
2.11.0