Re: [PATCH] x86: sysfs - kill owner field from attribute

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Andrew Morton
Date: Tuesday, September 9, 2008 - 4:26 pm

On Tue, 9 Sep 2008 19:11:02 -0400
"Parag Warudkar" <parag.lkml@gmail.com> wrote:


hm, OK, there may be newly-added code which will now break.  Not a big
deal.


The patch was wordwrapped - please fix that up before sending any more
patches.


This is simpler, no?

--- a/include/linux/sysfs.h~x86-sysfs-kill-owner-field-from-attribute-fix
+++ a/include/linux/sysfs.h
@@ -27,7 +27,7 @@ struct module;
  */
 struct attribute {
 	const char		*name;
-#if !defined(CONFIG_X86_64) && !defined(CONFIG_X86_32)
+#ifndef CONFIG_X86
 	struct module		*owner;
 #endif
 	mode_t			mode;
_

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] x86: sysfs - kill owner field from attribute, Parag Warudkar, (Tue Sep 9, 4:11 pm)
Re: [PATCH] x86: sysfs - kill owner field from attribute, Andrew Morton, (Tue Sep 9, 4:26 pm)
Re: [PATCH] x86: sysfs - kill owner field from attribute, Parag Warudkar, (Tue Sep 9, 4:35 pm)
Re: [PATCH] x86: sysfs - kill owner field from attribute, Parag Warudkar, (Wed Sep 10, 6:01 am)
Re: [PATCH] x86: sysfs - kill owner field from attribute, Andrew Morton, (Sat Oct 18, 4:59 pm)