Deletion of checks before specific function calls in Linux source files
A couple of functions performs input parameter validation before their implementations will try further actions with side effects. Some calling functions perform similar safety checks.
Functions which release a system resource are occasionally documented in the way that they tolerate the passing of a null pointer for example.
There is mostly no need because of this fact that a function caller repeats a corresponding check.
Semantic patch patterns can help to identify update candidates also in Linux source files.
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout home:elfring:semantic_patching:Deletion_of_checks_before_specific_function_calls/Deletion_of_checks_before_specific_function_calls_in_Linux_source_files && cd $_
- Create Badge
Refresh
Refresh
Source Files
Revision 21 (latest revision is 35)
Markus Elfring (elfring)
committed
(revision 21)
The file listing was a bit reordered.
Comments 0