diff options
| author | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2022-05-21 11:16:24 +0200 |
|---|---|---|
| committer | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2022-05-21 11:18:40 +0200 |
| commit | 7d990b119a6249af9a1ef4f3df9957d8975b56b2 (patch) | |
| tree | fd21e6b95ea88839593466e8c6f4db304f942824 /sparse.c | |
| parent | c4706aa764f3ae68258ba60be6325a5662900362 (diff) | |
| parent | d08822184fe1d4557beca97c2e3599ffc3668e50 (diff) | |
| download | sparse-dev-7d990b119a6249af9a1ef4f3df9957d8975b56b2.tar.gz | |
Merge branch 'next-ramsay'
* fix regression disabling the 'memcpy-max-count' check.
* warn about a 'case label' on empty statement
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'sparse.c')
| -rw-r--r-- | sparse.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -165,7 +165,7 @@ static void check_byte_count(struct instruction *insn, pseudo_t count) static void check_memset(struct instruction *insn) { - check_byte_count(insn, ptr_list_nth(insn->arguments, 3)); + check_byte_count(insn, ptr_list_nth(insn->arguments, 2)); } #define check_memcpy check_memset |
