- constify-parts-of-kernel-power.patch removed from -mm tree

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

 



The patch titled

     constify parts of kernel/power/

has been removed from the -mm tree.  Its filename is

     constify-parts-of-kernel-power.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
Subject: constify parts of kernel/power/
From: Andreas Mohr <andi@xxxxxxxxxxxxxxxxxxxxxxx>


Signed-off-by: Andreas Mohr <andi@xxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 kernel/power/disk.c |    2 +-
 kernel/power/main.c |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff -puN kernel/power/disk.c~constify-parts-of-kernel-power kernel/power/disk.c
--- a/kernel/power/disk.c~constify-parts-of-kernel-power
+++ a/kernel/power/disk.c
@@ -231,7 +231,7 @@ static int software_resume(void)
 late_initcall(software_resume);
 
 
-static char * pm_disk_modes[] = {
+static const char * const pm_disk_modes[] = {
 	[PM_DISK_FIRMWARE]	= "firmware",
 	[PM_DISK_PLATFORM]	= "platform",
 	[PM_DISK_SHUTDOWN]	= "shutdown",
diff -puN kernel/power/main.c~constify-parts-of-kernel-power kernel/power/main.c
--- a/kernel/power/main.c~constify-parts-of-kernel-power
+++ a/kernel/power/main.c
@@ -145,7 +145,7 @@ static void suspend_finish(suspend_state
 
 
 
-static char *pm_states[PM_SUSPEND_MAX] = {
+static const char * const pm_states[PM_SUSPEND_MAX] = {
 	[PM_SUSPEND_STANDBY]	= "standby",
 	[PM_SUSPEND_MEM]	= "mem",
 #ifdef CONFIG_SOFTWARE_SUSPEND
@@ -262,7 +262,7 @@ static ssize_t state_show(struct subsyst
 static ssize_t state_store(struct subsystem * subsys, const char * buf, size_t n)
 {
 	suspend_state_t state = PM_SUSPEND_STANDBY;
-	char ** s;
+	const char * const *s;
 	char *p;
 	int error;
 	int len;
_

Patches currently in -mm which might be from andi@xxxxxxxxxxxxxxxxxxxxxxx are

origin.patch
cpu_relax-use-in-acpi-lock.patch
git-input.patch
ni5010-netcard-cleanup.patch
acx1xx-wireless-driver.patch
x86-constify-some-parts-of-arch-i386-kernel-cpu.patch
make-pmtmr_ioport-__read_mostly.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