fix warning in pseries/power.c
PATCH 1/1 fix warning in pseries/power.c
Introduced by commit 79393fc46ede43451a500a132e5de9856f5a4c83 ("kobject:
convert pseries/power.c to kobj_attr interface").
sys_create_file takes a "struct attrbute *" not a "struct kobj_addribute *".
arch/powerpc/platforms/pseries/power.c: In function 'apo_pm_init':arch/powerpc/platforms/pseries/power.c:78: warning: passing argument 2 of 'sysfs_create_file' from incompatible pointer type
--- arch/powerpc/platforms/pseries/power.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
arch/powerpc/platforms/pseries/power.c +1 -1
@@ -75,7 +75,7 @@ core_initcall(pm_init);#else static int __init apo_pm_init (void ) { -return (sysfs_create_file (power_kobj, &auto_poweron_attr)); +return (sysfs_create_file (power_kobj, &auto_poweron_attr.attr)); }__initcall (apo_pm_init);#endif
Signature · 6 lines
1.5.4.2 -- Cheers, Stephen Rothwell [email protected] http://www.canb.auug.org.au/~sfr/
[email protected]
Appliedpatch powerpc-fix-typo-in-pseries-power.c.patch added to gregkh-2.6 tree
This is a note to let you know that I've just added the patch titled
Subject: POWERPC: fix typo in pseries/power.c
to my gregkh-2.6 tree. Its filename is
powerpc-fix-typo-in-pseries-power.c.patch
This tree can be found at
http://www.kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/patches/
Quoted 1 line
From [email protected] Wed Feb 20 12:57:53 2008
From: Stephen Rothwell <[email protected]>
Date: Wed, 20 Feb 2008 11:27:04 +1100
Subject: POWERPC: fix typo in pseries/power.c
To: [email protected]
Cc: ppc-dev <[email protected]>, Greg KH <[email protected]>
Message-ID: <[email protected]>
Introduced by commit 79393fc46ede43451a500a132e5de9856f5a4c83 ("kobject:
convert pseries/power.c to kobj_attr interface").
sys_create_file takes a "struct attrbute *" not a "struct kobj_addribute *".
arch/powerpc/platforms/pseries/power.c: In function 'apo_pm_init':arch/powerpc/platforms/pseries/power.c:78: warning: passing argument 2 of 'sysfs_create_file' from incompatible pointer type
--- arch/powerpc/platforms/pseries/power.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/powerpc/platforms/pseries/power.c +1 -1
@@ -75,7 +75,7 @@ core_initcall(pm_init);#else static int __init apo_pm_init (void ) { -return (sysfs_create_file (power_kobj, &auto_poweron_attr)); +return (sysfs_create_file (power_kobj, &auto_poweron_attr.attr)); }__initcall (apo_pm_init);#endif
Patches currently in gregkh-2.6 which might be from [email protected] are
bad/battery-class-driver.patchdriver/powerpc-fix-typo-in-pseries-power.c.patch
Re: patch powerpc-fix-typo-in-pseries-power.c.patch added to gregkh-2.6 tree
Hi Greg,
Quoted 8 lines · On Wed, 20 Feb 2008 13:57:27 -0800 <[email protected]> wrote:
This is a note to let you know that I've just added the patch titled
Subject: POWERPC: fix typo in
pseries/power.cto my gregkh-2.6 tree. Its filename is
powerpc-fix-typo-in-pseries-power.c.patch
This patch has been included by Paulus in his latest pull request to Linus.
Signature · 3 lines
Cheers, Stephen Rothwell [email protected] http://www.canb.auug.org.au/~sfr/
Re: patch powerpc-fix-typo-in-pseries-power.c.patch added to gregkh-2.6 tree
Quoted 6 lines · Stephen Rothwell
Hi Greg,
Quoted 3 lines · On Wed, 20 Feb 2008 13:57:27 -0800 <[email protected]> wrote:
This is a note to let you know that I've just added the patch titled
Quoted 7 lines
Quoted 5 lines
Subject: POWERPC: fix typo in
pseries/power.cto my gregkh-2.6 tree. Its filename is
powerpc-fix-typo-in-pseries-power.c.patch
This patch has been included by Paulus in his latest pull request to Linus.
Ok, I'll drop it when it shows up in Linus's tree. Not a big deal :)
thanks,
greg k-h