]> git.ipfire.org Git - thirdparty/systemd.git/blob - coccinelle/errno-check.cocci
cocci: merge mfree.cocci and mfree_return.cocci (#30838)
[thirdparty/systemd.git] / coccinelle / errno-check.cocci
1 /* SPDX-License-Identifier: LGPL-2.1-or-later */
2 @@
3 constant c;
4 @@
5 (
6 - errno == -c
7 + errno == c
8 |
9 - errno != -c
10 + errno != c
11 )