X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=scripts%2Fcoccinelle%2Ftests%2Fodd_ptr_err.cocci;h=11d4e2b6deb8bbfabd0174bdbb03c67532807eda;hb=7f904d7e1f3ec7c2de47c024a5a5c30988b54703;hp=dfc6b40c29698417c32c9c50eb22ad1b5c81044d;hpb=34258a32d9a9fc9e38fb549efe1692301cc31f85;p=linux-2.6-microblaze.git diff --git a/scripts/coccinelle/tests/odd_ptr_err.cocci b/scripts/coccinelle/tests/odd_ptr_err.cocci index dfc6b40c2969..11d4e2b6deb8 100644 --- a/scripts/coccinelle/tests/odd_ptr_err.cocci +++ b/scripts/coccinelle/tests/odd_ptr_err.cocci @@ -1,10 +1,11 @@ +// SPDX-License-Identifier: GPL-2.0-only /// PTR_ERR should access the value just tested by IS_ERR //# There can be false positives in the patch case, where it is the call to //# IS_ERR that is wrong. /// // Confidence: High -// Copyright: (C) 2012, 2015 Julia Lawall, INRIA. GPLv2. -// Copyright: (C) 2012, 2015 Gilles Muller, INRIA. GPLv2. +// Copyright: (C) 2012, 2015 Julia Lawall, INRIA. +// Copyright: (C) 2012, 2015 Gilles Muller, INRIA. // URL: http://coccinelle.lip6.fr/ // Options: --no-includes --include-headers