mirror of
https://github.com/systemd/systemd.git
synced 2025-01-20 18:04:03 +03:00
coccinelle: add a rule for in_addr_hash_func()
Follow-up for c01a5c0.
This commit is contained in:
parent
cd4b16c082
commit
eddecf4f6c
@ -4,3 +4,10 @@ expression p, s;
|
|||||||
@@
|
@@
|
||||||
- siphash24_compress(&p, sizeof(p), s);
|
- siphash24_compress(&p, sizeof(p), s);
|
||||||
+ siphash24_compress_typesafe(p, s);
|
+ siphash24_compress_typesafe(p, s);
|
||||||
|
|
||||||
|
@@
|
||||||
|
union in_addr_union p;
|
||||||
|
expression f, s;
|
||||||
|
@@
|
||||||
|
- siphash24_compress(&p, FAMILY_ADDRESS_SIZE(f), s);
|
||||||
|
+ in_addr_hash_func(&p, f, s);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user