diff options
| author | David Gibson <david@gibson.dropbear.id.au> | 2026-05-11 20:03:15 +1000 |
|---|---|---|
| committer | Stefano Brivio <sbrivio@redhat.com> | 2026-05-12 00:03:02 +0200 |
| commit | 1e6b638b490918386292e79efc8f62311e4a9f2f (patch) | |
| tree | 887fe8b2be5774d2485ccc3750a7e605de593cc7 /test/lib/git: | |
| parent | 1afd4edb0eab5cb06197ab721739aa8dfef4b3ce (diff) | |
| download | passt-1e6b638b490918386292e79efc8f62311e4a9f2f.tar passt-1e6b638b490918386292e79efc8f62311e4a9f2f.tar.gz passt-1e6b638b490918386292e79efc8f62311e4a9f2f.tar.bz2 passt-1e6b638b490918386292e79efc8f62311e4a9f2f.tar.lz passt-1e6b638b490918386292e79efc8f62311e4a9f2f.tar.xz passt-1e6b638b490918386292e79efc8f62311e4a9f2f.tar.zst passt-1e6b638b490918386292e79efc8f62311e4a9f2f.zip | |
netlink: erromsg should be const in nl_status()
This pointer aliases part of the const nlmsghdr we're passed, so it should
be const. While we're there, remove an unnecessary explicit cast
(NLMSG_DATA() returns a void *, which implicitly casts to anything).
This also removes a warning on cppcheck 2.20.0 and probably many other
versions.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Laurent Vivier <lvivier@redhat.com>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'test/lib/git:')
0 files changed, 0 insertions, 0 deletions
