mirror of
https://github.com/systemd/systemd.git
synced 2024-11-01 00:51:24 +03:00
ec2ce0c5d7
The included cocci was used to generate the changes. Thanks to @flo-wer for pointing this case out.
148 lines
5.7 KiB
Plaintext
148 lines
5.7 KiB
Plaintext
@@
|
|
expression e;
|
|
identifier n0, n1, n2, n3, n4, n5, n6, n7, n8, n9, n10, n11, n12, n13, n14, n15, n16, n17, n18, n19, n20;
|
|
statement s;
|
|
@@
|
|
- e != n0 && e != n1 && e != n2 && e != n3 && e != n4 && e != n5 && e != n6 && e != n7 && e != n8 && e != n9 && e != n10 && e != n11 && e != n12 && e != n13 && e != n14 && e != n15 && e != n16 && e != n17 && e != n18 && e != n19 && e != n20
|
|
+ !IN_SET(e, n0, n1, n2, n3, n4, n5, n6, n7, n8, n9, n10, n11, n12, n13, n14, n15, n16, n17, n18, n19, n20)
|
|
@@
|
|
expression e;
|
|
identifier n0, n1, n2, n3, n4, n5, n6, n7, n8, n9, n10, n11, n12, n13, n14, n15, n16, n17, n18, n19;
|
|
statement s;
|
|
@@
|
|
- e != n0 && e != n1 && e != n2 && e != n3 && e != n4 && e != n5 && e != n6 && e != n7 && e != n8 && e != n9 && e != n10 && e != n11 && e != n12 && e != n13 && e != n14 && e != n15 && e != n16 && e != n17 && e != n18 && e != n19
|
|
+ !IN_SET(e, n0, n1, n2, n3, n4, n5, n6, n7, n8, n9, n10, n11, n12, n13, n14, n15, n16, n17, n18, n19)
|
|
@@
|
|
expression e;
|
|
identifier n0, n1, n2, n3, n4, n5, n6, n7, n8, n9, n10, n11, n12, n13, n14, n15, n16, n17, n18;
|
|
statement s;
|
|
@@
|
|
- e != n0 && e != n1 && e != n2 && e != n3 && e != n4 && e != n5 && e != n6 && e != n7 && e != n8 && e != n9 && e != n10 && e != n11 && e != n12 && e != n13 && e != n14 && e != n15 && e != n16 && e != n17 && e != n18
|
|
+ !IN_SET(e, n0, n1, n2, n3, n4, n5, n6, n7, n8, n9, n10, n11, n12, n13, n14, n15, n16, n17, n18)
|
|
@@
|
|
expression e;
|
|
identifier n0, n1, n2, n3, n4, n5, n6, n7, n8, n9, n10, n11, n12, n13, n14, n15, n16, n17;
|
|
statement s;
|
|
@@
|
|
- e != n0 && e != n1 && e != n2 && e != n3 && e != n4 && e != n5 && e != n6 && e != n7 && e != n8 && e != n9 && e != n10 && e != n11 && e != n12 && e != n13 && e != n14 && e != n15 && e != n16 && e != n17
|
|
+ !IN_SET(e, n0, n1, n2, n3, n4, n5, n6, n7, n8, n9, n10, n11, n12, n13, n14, n15, n16, n17)
|
|
@@
|
|
expression e;
|
|
identifier n0, n1, n2, n3, n4, n5, n6, n7, n8, n9, n10, n11, n12, n13, n14, n15, n16;
|
|
statement s;
|
|
@@
|
|
- e != n0 && e != n1 && e != n2 && e != n3 && e != n4 && e != n5 && e != n6 && e != n7 && e != n8 && e != n9 && e != n10 && e != n11 && e != n12 && e != n13 && e != n14 && e != n15 && e != n16
|
|
+ !IN_SET(e, n0, n1, n2, n3, n4, n5, n6, n7, n8, n9, n10, n11, n12, n13, n14, n15, n16)
|
|
@@
|
|
expression e;
|
|
identifier n0, n1, n2, n3, n4, n5, n6, n7, n8, n9, n10, n11, n12, n13, n14, n15;
|
|
statement s;
|
|
@@
|
|
- e != n0 && e != n1 && e != n2 && e != n3 && e != n4 && e != n5 && e != n6 && e != n7 && e != n8 && e != n9 && e != n10 && e != n11 && e != n12 && e != n13 && e != n14 && e != n15
|
|
+ !IN_SET(e, n0, n1, n2, n3, n4, n5, n6, n7, n8, n9, n10, n11, n12, n13, n14, n15)
|
|
@@
|
|
expression e;
|
|
identifier n0, n1, n2, n3, n4, n5, n6, n7, n8, n9, n10, n11, n12, n13, n14;
|
|
statement s;
|
|
@@
|
|
- e != n0 && e != n1 && e != n2 && e != n3 && e != n4 && e != n5 && e != n6 && e != n7 && e != n8 && e != n9 && e != n10 && e != n11 && e != n12 && e != n13 && e != n14
|
|
+ !IN_SET(e, n0, n1, n2, n3, n4, n5, n6, n7, n8, n9, n10, n11, n12, n13, n14)
|
|
@@
|
|
expression e;
|
|
identifier n0, n1, n2, n3, n4, n5, n6, n7, n8, n9, n10, n11, n12, n13;
|
|
statement s;
|
|
@@
|
|
- e != n0 && e != n1 && e != n2 && e != n3 && e != n4 && e != n5 && e != n6 && e != n7 && e != n8 && e != n9 && e != n10 && e != n11 && e != n12 && e != n13
|
|
+ !IN_SET(e, n0, n1, n2, n3, n4, n5, n6, n7, n8, n9, n10, n11, n12, n13)
|
|
@@
|
|
expression e;
|
|
identifier n0, n1, n2, n3, n4, n5, n6, n7, n8, n9, n10, n11, n12;
|
|
statement s;
|
|
@@
|
|
- e != n0 && e != n1 && e != n2 && e != n3 && e != n4 && e != n5 && e != n6 && e != n7 && e != n8 && e != n9 && e != n10 && e != n11 && e != n12
|
|
+ !IN_SET(e, n0, n1, n2, n3, n4, n5, n6, n7, n8, n9, n10, n11, n12)
|
|
@@
|
|
expression e;
|
|
identifier n0, n1, n2, n3, n4, n5, n6, n7, n8, n9, n10, n11;
|
|
statement s;
|
|
@@
|
|
- e != n0 && e != n1 && e != n2 && e != n3 && e != n4 && e != n5 && e != n6 && e != n7 && e != n8 && e != n9 && e != n10 && e != n11
|
|
+ !IN_SET(e, n0, n1, n2, n3, n4, n5, n6, n7, n8, n9, n10, n11)
|
|
@@
|
|
expression e;
|
|
identifier n0, n1, n2, n3, n4, n5, n6, n7, n8, n9, n10;
|
|
statement s;
|
|
@@
|
|
- e != n0 && e != n1 && e != n2 && e != n3 && e != n4 && e != n5 && e != n6 && e != n7 && e != n8 && e != n9 && e != n10
|
|
+ !IN_SET(e, n0, n1, n2, n3, n4, n5, n6, n7, n8, n9, n10)
|
|
@@
|
|
expression e;
|
|
identifier n0, n1, n2, n3, n4, n5, n6, n7, n8, n9;
|
|
statement s;
|
|
@@
|
|
- e != n0 && e != n1 && e != n2 && e != n3 && e != n4 && e != n5 && e != n6 && e != n7 && e != n8 && e != n9
|
|
+ !IN_SET(e, n0, n1, n2, n3, n4, n5, n6, n7, n8, n9)
|
|
@@
|
|
expression e;
|
|
identifier n0, n1, n2, n3, n4, n5, n6, n7, n8;
|
|
statement s;
|
|
@@
|
|
- e != n0 && e != n1 && e != n2 && e != n3 && e != n4 && e != n5 && e != n6 && e != n7 && e != n8
|
|
+ !IN_SET(e, n0, n1, n2, n3, n4, n5, n6, n7, n8)
|
|
@@
|
|
expression e;
|
|
identifier n0, n1, n2, n3, n4, n5, n6, n7;
|
|
statement s;
|
|
@@
|
|
- e != n0 && e != n1 && e != n2 && e != n3 && e != n4 && e != n5 && e != n6 && e != n7
|
|
+ !IN_SET(e, n0, n1, n2, n3, n4, n5, n6, n7)
|
|
@@
|
|
expression e;
|
|
identifier n0, n1, n2, n3, n4, n5, n6;
|
|
statement s;
|
|
@@
|
|
- e != n0 && e != n1 && e != n2 && e != n3 && e != n4 && e != n5 && e != n6
|
|
+ !IN_SET(e, n0, n1, n2, n3, n4, n5, n6)
|
|
@@
|
|
expression e;
|
|
identifier n0, n1, n2, n3, n4, n5;
|
|
statement s;
|
|
@@
|
|
- e != n0 && e != n1 && e != n2 && e != n3 && e != n4 && e != n5
|
|
+ !IN_SET(e, n0, n1, n2, n3, n4, n5)
|
|
@@
|
|
expression e;
|
|
identifier n1, n2, n3, n4, n5;
|
|
statement s;
|
|
@@
|
|
- e != n1 && e != n2 && e != n3 && e != n4 && e != n5
|
|
+ !IN_SET(e, n1, n2, n3, n4, n5)
|
|
@@
|
|
expression e;
|
|
identifier n1, n2, n3, n4;
|
|
statement s;
|
|
@@
|
|
- e != n1 && e != n2 && e != n3 && e != n4
|
|
+ !IN_SET(e, n1, n2, n3, n4)
|
|
@@
|
|
expression e;
|
|
identifier n1, n2, n3, n4;
|
|
statement s;
|
|
@@
|
|
- e != n1 && e != n2 && e != n3 && e != n4
|
|
+ !IN_SET(e, n1, n2, n3, n4)
|
|
@@
|
|
expression e;
|
|
identifier n1, n2, n3;
|
|
statement s;
|
|
@@
|
|
- e != n1 && e != n2 && e != n3
|
|
+ !IN_SET(e, n1, n2, n3)
|
|
@@
|
|
expression e;
|
|
identifier n, p;
|
|
statement s;
|
|
@@
|
|
- e != n && e != p
|
|
+ !IN_SET(e, n, p)
|