- update-checkpatchpl-to-version-019-fix.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     update-checkpatchpl-to-version-019 fix
has been removed from the -mm tree.  Its filename was
     update-checkpatchpl-to-version-019-fix.patch

This patch was dropped because it was folded into update-checkpatchpl-to-version-019.patch

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: update-checkpatchpl-to-version-019 fix
From: Andy Whitcroft <apw@xxxxxxxxxxxx>

return is not a function -- tighten test

Tighten the return is not a function test so that we only report it on
the line it occurs.

Signed-off-by: Andy Whitcroft <apw@xxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 scripts/checkpatch.pl |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN scripts/checkpatch.pl~update-checkpatchpl-to-version-019-fix scripts/checkpatch.pl
--- a/scripts/checkpatch.pl~update-checkpatchpl-to-version-019-fix
+++ a/scripts/checkpatch.pl
@@ -1665,7 +1665,7 @@ sub process {
 		}
 
 # Return is not a function.
-		if (defined($stat) && $stat =~ /\breturn(\s*)(\(.*);/s) {
+		if (defined($stat) && $stat =~ /^.\s*return(\s*)(\(.*);/s) {
 			my $spacing = $1;
 			my $value = $2;
 
_

Patches currently in -mm which might be from apw@xxxxxxxxxxxx are

update-checkpatchpl-to-version-019.patch
update-checkpatchpl-to-version-019-fix.patch

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux