[alternative-merged] timeconstpl-remove-deprecated-defined-array.patch removed from -mm tree

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

 



The patch titled
     Subject: timeconst.pl: remove deprecated defined(@array)
has been removed from the -mm tree.  Its filename was
     timeconstpl-remove-deprecated-defined-array.patch

This patch was dropped because an alternative patch was merged

------------------------------------------------------
From: Dagfinn Ilmari Mannsåker <ilmari@xxxxxxxxxx>
Subject: timeconst.pl: remove deprecated defined(@array)

The use of defined() on arrays and hashes has been deprecated since perl
5.6, but until 5.17.6 it only warned on lexicals, not package globals.

Signed-off-by: Dagfinn Ilmari Mannsåker <ilmari@xxxxxxxxxx>
Acked-by: "H. Peter Anvin" <hpa@xxxxxxxxx>
Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 kernel/timeconst.pl |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN kernel/timeconst.pl~timeconstpl-remove-deprecated-defined-array kernel/timeconst.pl
--- a/kernel/timeconst.pl~timeconstpl-remove-deprecated-defined-array
+++ a/kernel/timeconst.pl
@@ -370,7 +370,7 @@ if ($hz eq '--can') {
 	}
 
 	@val = @{$canned_values{$hz}};
-	if (!defined(@val)) {
+	if (!@val) {
 		@val = compute_values($hz);
 	}
 	output($hz, @val);
_

Patches currently in -mm which might be from ilmari@xxxxxxxxxx are


--
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