* [PATCH] drivers/base/memory.c: fix fallout from sysdev API changes
@ 2008-07-27 4:26 Nathan Lynch
2008-07-27 13:17 ` Andi Kleen
0 siblings, 1 reply; 2+ messages in thread
From: Nathan Lynch @ 2008-07-27 4:26 UTC (permalink / raw)
To: linux-kernel; +Cc: Badari Pulavarty, Andi Kleen, Andrew Morton
drivers/base/memory.c:280: warning: initialization from incompatible pointer type
Signed-off-by: Nathan Lynch <ntl@pobox.com>
---
drivers/base/memory.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/drivers/base/memory.c b/drivers/base/memory.c
index 3ad49a0..af0d175 100644
--- a/drivers/base/memory.c
+++ b/drivers/base/memory.c
@@ -103,7 +103,8 @@ static ssize_t show_mem_phys_index(struct sys_device *dev,
/*
* Show whether the section of memory is likely to be hot-removable
*/
-static ssize_t show_mem_removable(struct sys_device *dev, char *buf)
+static ssize_t show_mem_removable(struct sys_device *dev,
+ struct sysdev_attribute *attr, char *buf)
{
unsigned long start_pfn;
int ret;
--
1.5.6.2
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-07-27 13:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-07-27 4:26 [PATCH] drivers/base/memory.c: fix fallout from sysdev API changes Nathan Lynch
2008-07-27 13:17 ` Andi Kleen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome