Skip to content

Update memdup_user.cocci

Denis Efremov cocci lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 1 replyIn review
  2. v24 patches 4 repliesApplied
  3. v12 patches 6 repliesSuperseded

Changes in v3 from the cover letter

- add missing '-' for patch rule in kmalloc/kzalloc call args
- selfcheck rule dropped from patchset

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3coccinelle: api: extend memdup_user transformation with GFP_USERscripts/coccinelle/api/memdup_user.cocci+6 -20 replies
2/3coccinelle: api: extend memdup_user rule with vmemdup_user()scripts/coccinelle/api/memdup_user.cocci+45 -00 replies
3/3coccinelle: api: filter out memdup_user definitionsscripts/coccinelle/api/memdup_user.cocci+13 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/3] Update memdup_user.cocci

Add GFP_USER to the allocation flags and handle vmemdup_user().

Changes in v2:
- memdup_user/vmemdup_user matching suppressed
- PoC for selfcheck virtual rule
Changes in v3:
- add missing '-' for patch rule in kmalloc/kzalloc call args
- selfcheck rule dropped from patchset

Denis Efremov (3):
coccinelle: api: extend memdup_user transformation with GFP_USER
coccinelle: api: extend memdup_user rule with vmemdup_user()
coccinelle: api: filter out memdup_user definitions

 scripts/coccinelle/api/memdup_user.cocci | 64 ++++++++++++++++++++++--
 1 file changed, 61 insertions(+), 3 deletions(-)
Signature · 1 line
2.26.2