summaryrefslogtreecommitdiffstats
path: root/coccinelle (follow)
Commit message (Expand)AuthorAgeFilesLines
* introduce FOREACH_ELEMENTMatteo Croce2024-04-181-0/+1
* cocci: merge mfree.cocci and mfree_return.cocci (#30838)AtariDreams2024-01-092-9/+29
* coccinelle: add a rule for in_addr_hash_func()Frantisek Sumsal2024-01-021-0/+7
* coccinelle: drop a couple of FIXMEsFrantisek Sumsal2024-01-022-7/+10
* coccinelle: re-indent commentsYu Watanabe2023-12-281-4/+4
* coccinelle: fix typoYu Watanabe2023-12-281-1/+1
* Merge pull request #30639 from mrc0mmand/more-cocci-shenanigansYu Watanabe2023-12-273-248/+90
|\
| * coccinelle: dial back warnings about performanceFrantisek Sumsal2023-12-271-8/+2
| * coccinelle: help Coccinelle with some more complex macrosFrantisek Sumsal2023-12-273-238/+81
| * coccinelle: search the system include path for header files as wellFrantisek Sumsal2023-12-271-1/+4
| * coccinelle: explicitly undefine SD_BOOTFrantisek Sumsal2023-12-261-2/+4
* | coccinelle: fix typoYu Watanabe2023-12-261-2/+2
|/
* Merge pull request #30633 from mrc0mmand/cocci-shenanigansYu Watanabe2023-12-253-26/+53
|\
| * coccinelle: properly drop braces around single-statement if()sFrantisek Sumsal2023-12-251-20/+5
| * coccinelle: fix the log-json ruleFrantisek Sumsal2023-12-251-2/+1
| * coccinelle: rework how we run the Coccinelle transformationsFrantisek Sumsal2023-12-251-4/+47
* | format-table: introduce table_isempty and use it where appropriateMike Yuan2023-12-251-0/+10
* | siphash24: introduce siphash24_compress_typesafe() macroYu Watanabe2023-12-251-0/+6
* | coccinelle: convert hashmap_size() == 0 or friendsYu Watanabe2023-12-241-0/+91
|/
* coccinelle: don't run iovec-make on iovec_done{,_erase}Frantisek Sumsal2023-10-251-1/+5
* tree-wide: use cocinnelle to apply _NEG_ macrosZbigniew Jędrzejewski-Szmek2023-08-161-0/+46
* coccinelle/take-fd: match for -EBADF instead of -1Mike Yuan2023-07-091-2/+2
* coccinelle: add a transformation for GNU conditionalsFrantisek Sumsal2023-03-181-0/+7
* coccinelle: respect spacing from the semantic patchFrantisek Sumsal2023-03-181-1/+1
* coccinelle: skip the empty-to-null transformation on the macro itselfFrantisek Sumsal2023-01-251-2/+6
* tree-wide: use -EBADF for fd initializationZbigniew Jędrzejewski-Szmek2022-12-191-3/+3
* treewide: drop "RUN_" from "RUN_WITH_UMASK"Zbigniew Jędrzejewski-Szmek2022-12-131-1/+1
* basic/list: drop LIST_IS_EMPTYZbigniew Jędrzejewski-Szmek2022-07-021-2/+0
* coccinelle: don't try to use IN_SET() in assert_cc()Frantisek Sumsal2022-05-301-5/+17
* coccinelle: automatically look for timestamp_is_set candidatesLennart Poettering2022-02-221-0/+73
* coccinelle: automatically switch some uses of memcpy() → mempcpy()Lennart Poettering2022-02-161-0/+13
* list: drop unnecessary line continuationYu Watanabe2021-12-241-1/+1
* Change all fixed-path bash shebangs to /u/b/env bash outside test/наб2021-12-121-1/+2
* alloc-util: add strdupa_safe() + strndupa_safe() and use it everywhereLennart Poettering2021-10-141-0/+11
* licensing: add spdx to our .cocci filesZbigniew Jędrzejewski-Szmek2021-10-0152-1/+54
* ci: use LGPLv2+ for all our ci configurationZbigniew Jędrzejewski-Szmek2021-10-011-0/+1
* ci: shellcheck-ify CI scriptsFrantisek Sumsal2021-09-291-11/+14
* coccinelle: filter out a couple of 'false-positive' transformationsFrantisek Sumsal2021-03-183-2/+5
* coccinelle: ignore specific cases to use SYNTHETIC_ERRNO() macroYu Watanabe2020-11-271-0/+6
* coccinelle: add rules for log_unit_error_errno() or friendsYu Watanabe2020-11-272-0/+269
* coccinelle: always use SYNTHETIC_ERRNO() macroYu Watanabe2020-11-191-2/+2
* coccinelle: add one more rule to use return value of log_xxx_errno()Yu Watanabe2020-11-191-0/+9
* coccinelle: introduce drop-braces transformationFrantisek Sumsal2020-10-091-0/+27
* coccinelle: check for invalid errno comparisonsFrantisek Sumsal2020-10-091-0/+10
* coccinelle: correctly resolve our own macrosFrantisek Sumsal2020-10-092-2/+233
* coccinelle: skip strjoin transformation in test_strjoin()Frantisek Sumsal2020-10-041-10/+9
* coccinelle: limit the # of expressions in in_set/not_in_setFrantisek Sumsal2020-10-042-27/+4
* coccinelle: skip the xsprintf transformation on man pagesFrantisek Sumsal2020-10-041-1/+2
* coccinelle: disable flags-set where it doesn't make senseFrantisek Sumsal2020-10-041-3/+9
* coccinelle: fix the equals-null transformationFrantisek Sumsal2020-10-041-6/+21