update Coccinelle URLSigned-off-by: Julia Lawall <[email protected]>
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 505Based on 1 normalized pattern(s): gplv2extracted by the scancode license scanner the SPDX license identifier GPL-2.0-only
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 505Based on 1 normalized pattern(s): gplv2extracted by the scancode license scanner the SPDX license identifier GPL-2.0-onlyhas been chosen to replace the boilerplate/reference in 58 file(s).Signed-off-by: Thomas Gleixner <[email protected]>Reviewed-by: Enrico Weigelt <[email protected]>Reviewed-by: Allison Randal <[email protected]>Reviewed-by: Kate Stewart <[email protected]>Cc: [email protected]Link: https://lkml.kernel.org/r/[email protected]Signed-off-by: Greg Kroah-Hartman <[email protected]>
show more ...
Coccinelle: doubletest: reduce side effect false positivesEnsure that the cited expression is not a function call or anassignment to reduce the chance of false positives.Slightly modify the warn
Coccinelle: doubletest: reduce side effect false positivesEnsure that the cited expression is not a function call or anassignment to reduce the chance of false positives.Slightly modify the warning message to indicate another sourceof false positves.Signed-off-by: Julia Lawall <[email protected]>Signed-off-by: Masahiro Yamada <[email protected]>
coccinelle: tests: unsigned value cannot be lesser than zeroUnsigned expressions cannot be lesser than zero. Presence of comparisons'unsigned (<|<=|>|>=) 0' often indicates a bug, usually wrong ty
coccinelle: tests: unsigned value cannot be lesser than zeroUnsigned expressions cannot be lesser than zero. Presence of comparisons'unsigned (<|<=|>|>=) 0' often indicates a bug, usually wrong type of variable.The patch beside finding such comparisons tries to eliminate false positives,mainly by bypassing range checks.gcc can detect such comparisons also using -Wtype-limits switch, but it warnsalso in correct cases, making too much noise.Signed-off-by: Andrzej Hajda <[email protected]>Acked-by: Julia Lawall <[email protected]>Signed-off-by: Michal Marek <[email protected]>
coccinelle: tests: improve odd_ptr_err.cocciThe original version only considered the case where the then branchcontains only one call to PTR_ERR. Reimplement the whole thing to allowmultiple cal
coccinelle: tests: improve odd_ptr_err.cocciThe original version only considered the case where the then branchcontains only one call to PTR_ERR. Reimplement the whole thing to allowmultiple calls, with potentially different arguments.Signed-off-by: Julia Lawall <[email protected]>Signed-off-by: Michal Marek <[email protected]>
Coccinelle: Update the options used to the new option schemespatch has changed its option scheme.E.g., --no_show_diff is now --no-show-diffThis patch updates: - scripts/coccicheck - Semantic p
Coccinelle: Update the options used to the new option schemespatch has changed its option scheme.E.g., --no_show_diff is now --no-show-diffThis patch updates: - scripts/coccicheck - Semantic patches under scripts/coccinelle/Signed-off-by: Nicolas Palix <[email protected]>Signed-off-by: Michal Marek <[email protected]>
scripts/coccinelle/tests/odd_ptr_err.cocci: semantic patch for IS_ERR/PTR_ERR inconsistencySigned-off-by: Julia Lawall <[email protected]>Signed-off-by: Michal Marek <[email protected]>
Coccinelle: Find doubled arguments to boolean or bit operators.Signed-off-by: Julia Lawall <[email protected]>Signed-off-by: Nicolas Palix <[email protected]>Signed-off-by: Michal Marek <mmarek@s
Coccinelle: Find doubled arguments to boolean or bit operators.Signed-off-by: Julia Lawall <[email protected]>Signed-off-by: Nicolas Palix <[email protected]>Signed-off-by: Michal Marek <[email protected]>