This was previously ignored in "DEV: coccinelle: Fix incorrect replacement in 
ist.cocci",
but is now properly replaced by a simple `ist()` call.
---
 dev/coccinelle/ist.cocci | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/dev/coccinelle/ist.cocci b/dev/coccinelle/ist.cocci
index ea13d39d2..acde626b0 100644
--- a/dev/coccinelle/ist.cocci
+++ b/dev/coccinelle/ist.cocci
@@ -4,8 +4,9 @@ expression p, l;
 @@
 
 (
- i.ptr = p;
- i.len = strlen(i.ptr);
+- i.ptr = p;
+- i.len = strlen(i.ptr);
++ i = ist(p);
 |
 - i.ptr = p;
 - i.len = l;
-- 
2.35.1


Reply via email to