Skip to contentSkip to conversation

coccinelle: api: add selfcheck for memdup_user rule

PATCH Markus Elfring 1 participant 1 message Jun 8, 2020 Kernel janitors

lore
Share & tools
lore
#0 lore raw
Quoted 3 lines

Check that the rule matches vmemdup_user implementation. memdup_user is out of scope because we are not matching kmalloc_track_caller() function.

I find this change description improvable.
Will it become helpful (for example) to mention that you would like to add another operation mode?

Review

Quoted 4 lines

+@finalize:python depends on selfcheck@

(quoted diff) +3 -0
+filtered << merge.filtered;
+checked_files << merge.checked_files;
+@@

Are we looking for better software documentation for such functionality?

Regards,
Markus