+ memory_probe-fix-wrong-sysfs-file-attribute.patch added to -mm tree

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

 



The patch titled
     memory_probe: fix wrong sysfs file attribute
has been added to the -mm tree.  Its filename is
     memory_probe-fix-wrong-sysfs-file-attribute.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

See http://userweb.kernel.org/~akpm/added-to-mm.txt to find
out what to do about this

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

------------------------------------------------------
Subject: memory_probe: fix wrong sysfs file attribute
From: Shaohua Li <shaohua.li@xxxxxxxxx>

This attribute just has a write operation.

Signed-off-by: Shaohua Li <shaohua.li@xxxxxxxxx>
Cc: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 drivers/base/memory.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN drivers/base/memory.c~memory_probe-fix-wrong-sysfs-file-attribute drivers/base/memory.c
--- a/drivers/base/memory.c~memory_probe-fix-wrong-sysfs-file-attribute
+++ a/drivers/base/memory.c
@@ -325,7 +325,7 @@ memory_probe_store(struct class *class, 
 
 	return count;
 }
-static CLASS_ATTR(probe, 0700, NULL, memory_probe_store);
+static CLASS_ATTR(probe, 0200, NULL, memory_probe_store);
 
 static int memory_probe_init(void)
 {
_

Patches currently in -mm which might be from shaohua.li@xxxxxxxxx are

git-tip.patch
git-acpi.patch
memory_probe-fix-wrong-sysfs-file-attribute.patch
rtc-cmos-strongly-avoid-hpet-emulation.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