* [-mm patch] drivers/acpi/: make two functions static
[not found] ` <20060107052221.61d0b600.akpm-3NddpPZAyC0@public.gmane.org>
@ 2006-01-07 18:19 ` Adrian Bunk
0 siblings, 0 replies; 8+ messages in thread
From: Adrian Bunk @ 2006-01-07 18:19 UTC (permalink / raw)
To: Andrew Morton, Arjan van de Ven
Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA,
len.brown-ral2JQCrhuEAvxtiuMwx3w,
linux-acpi-u79uwXL29TY76Z2rM5mHXA
On Sat, Jan 07, 2006 at 05:22:21AM -0800, Andrew Morton wrote:
>...
> Changes since 2.6.15-mm1:
>...
> +fix-some-f_ops-abuse-in-acpi.patch
>...
After this patch, we can make two functions static.
Signed-off-by: Adrian Bunk <bunk-HeJ8Db2Gnd6zQB+pC5nmwQ@public.gmane.org>
---
drivers/acpi/processor_thermal.c | 6 +++---
drivers/acpi/processor_throttling.c | 6 +++---
include/acpi/processor.h | 6 ------
3 files changed, 6 insertions(+), 12 deletions(-)
--- linux-2.6.15-mm2-full/include/acpi/processor.h.old 2006-01-07 17:52:17.000000000 +0100
+++ linux-2.6.15-mm2-full/include/acpi/processor.h 2006-01-07 17:52:28.000000000 +0100
@@ -223,9 +223,6 @@
/* in processor_throttling.c */
int acpi_processor_get_throttling_info(struct acpi_processor *pr);
int acpi_processor_set_throttling(struct acpi_processor *pr, int state);
-ssize_t acpi_processor_write_throttling(struct file *file,
- const char __user * buffer,
- size_t count, loff_t * data);
extern struct file_operations acpi_processor_throttling_fops;
/* in processor_idle.c */
@@ -237,9 +234,6 @@
/* in processor_thermal.c */
int acpi_processor_get_limit_info(struct acpi_processor *pr);
-ssize_t acpi_processor_write_limit(struct file *file,
- const char __user * buffer,
- size_t count, loff_t * data);
extern struct file_operations acpi_processor_limit_fops;
#ifdef CONFIG_CPU_FREQ
--- linux-2.6.15-mm2-full/drivers/acpi/processor_throttling.c.old 2006-01-07 17:52:37.000000000 +0100
+++ linux-2.6.15-mm2-full/drivers/acpi/processor_throttling.c 2006-01-07 17:52:54.000000000 +0100
@@ -306,9 +306,9 @@
PDE(inode)->data);
}
-ssize_t acpi_processor_write_throttling(struct file * file,
- const char __user * buffer,
- size_t count, loff_t * data)
+static ssize_t acpi_processor_write_throttling(struct file * file,
+ const char __user * buffer,
+ size_t count, loff_t * data)
{
int result = 0;
struct seq_file *m = (struct seq_file *)file->private_data;
--- linux-2.6.15-mm2-full/drivers/acpi/processor_thermal.c.old 2006-01-07 17:53:04.000000000 +0100
+++ linux-2.6.15-mm2-full/drivers/acpi/processor_thermal.c 2006-01-07 17:53:16.000000000 +0100
@@ -348,9 +348,9 @@
PDE(inode)->data);
}
-ssize_t acpi_processor_write_limit(struct file * file,
- const char __user * buffer,
- size_t count, loff_t * data)
+static ssize_t acpi_processor_write_limit(struct file * file,
+ const char __user * buffer,
+ size_t count, loff_t * data)
{
int result = 0;
struct seq_file *m = (struct seq_file *)file->private_data;
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: 2.6.15-mm2
[not found] ` <43C0172E.7040607-vYW+cPY1g1pg9hUCZPvPmw@public.gmane.org>
@ 2006-01-07 22:58 ` Andrew Morton
[not found] ` <20060107145800.113d7de5.akpm-3NddpPZAyC0@public.gmane.org>
0 siblings, 1 reply; 8+ messages in thread
From: Andrew Morton @ 2006-01-07 22:58 UTC (permalink / raw)
To: Brice Goglin
Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA, Brown, Len,
linux-acpi-u79uwXL29TY76Z2rM5mHXA
Brice Goglin <Brice.Goglin-vYW+cPY1g1pg9hUCZPvPmw@public.gmane.org> wrote:
>
> 2) acpi-cpufreq does not load either, returns ENODEV too. It's probably
> git-acpi. I tried to revert it but there are lots of other patches
> depending on it, so I finally gave up.
OK, let me try to reproduce this. acpi and cpufreq are fully merged up, so
this bug may well be in mainline now.
> 3) wpa_supplicant does not find my WPA network anymore (while iwlist
> scanning sees). I didn't see anything relevant in dmesg. My driver is
> ipw2200.
It's things like this which make me consider a career in carpentry.
I assume 2.6.15 works OK?
Unfortunately I don't know diddly about wpa_supplicant (how come FC5-test1
doesn't ship it?)
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: 2.6.15-mm2
[not found] ` <20060107145800.113d7de5.akpm-3NddpPZAyC0@public.gmane.org>
@ 2006-01-07 23:38 ` Brice Goglin
[not found] ` <43C050FA.9040400-vYW+cPY1g1pg9hUCZPvPmw@public.gmane.org>
2006-01-08 10:31 ` 2.6.15-mm2 Erik Slagter
1 sibling, 1 reply; 8+ messages in thread
From: Brice Goglin @ 2006-01-07 23:38 UTC (permalink / raw)
To: Andrew Morton
Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA, Brown, Len,
linux-acpi-u79uwXL29TY76Z2rM5mHXA
Andrew Morton wrote:
>Brice Goglin <Brice.Goglin-vYW+cPY1g1pg9hUCZPvPmw@public.gmane.org> wrote:
>
>
>>2) acpi-cpufreq does not load either, returns ENODEV too. It's probably
>> git-acpi. I tried to revert it but there are lots of other patches
>> depending on it, so I finally gave up.
>>
>>
>
>OK, let me try to reproduce this. acpi and cpufreq are fully merged up, so
>this bug may well be in mainline now.
>
>
>
>> 3) wpa_supplicant does not find my WPA network anymore (while iwlist
>> scanning sees). I didn't see anything relevant in dmesg. My driver is
>> ipw2200.
>>
>>
>
>It's things like this which make me consider a career in carpentry.
>
>I assume 2.6.15 works OK?
>
>
2.6.15 and 2.6.15-git3 both don't show any of these issues. Did acpi and
cpufreq get merged after -git3 ?
thanks,
Brice
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: 2.6.15-mm2
[not found] ` <20060107145800.113d7de5.akpm-3NddpPZAyC0@public.gmane.org>
2006-01-07 23:38 ` 2.6.15-mm2 Brice Goglin
@ 2006-01-08 10:31 ` Erik Slagter
[not found] ` <1136716282.7377.1.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
1 sibling, 1 reply; 8+ messages in thread
From: Erik Slagter @ 2006-01-08 10:31 UTC (permalink / raw)
To: linux-acpi-u79uwXL29TY76Z2rM5mHXA
[-- Attachment #1: Type: text/plain, Size: 310 bytes --]
On Sat, 2006-01-07 at 14:58 -0800, Andrew Morton wrote:
> I assume 2.6.15 works OK?
>
> Unfortunately I don't know diddly about wpa_supplicant (how come FC5-test1
> doesn't ship it?)
Yeah, for some odd reason FC doesn't ship wpa_supplicant, forcing all
those poor users to use WEP "encryption" :-(
[-- Attachment #2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 2771 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: 2.6.15-mm2
[not found] ` <43C050FA.9040400-vYW+cPY1g1pg9hUCZPvPmw@public.gmane.org>
@ 2006-01-08 12:24 ` Andrew Morton
[not found] ` <20060108042425.4d0b8a76.akpm-3NddpPZAyC0@public.gmane.org>
0 siblings, 1 reply; 8+ messages in thread
From: Andrew Morton @ 2006-01-08 12:24 UTC (permalink / raw)
To: Brice Goglin
Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA,
len.brown-ral2JQCrhuEAvxtiuMwx3w,
linux-acpi-u79uwXL29TY76Z2rM5mHXA
Brice Goglin <Brice.Goglin-vYW+cPY1g1pg9hUCZPvPmw@public.gmane.org> wrote:
>
> Andrew Morton wrote:
>
> >Brice Goglin <Brice.Goglin-vYW+cPY1g1pg9hUCZPvPmw@public.gmane.org> wrote:
> >
> >
> >>2) acpi-cpufreq does not load either, returns ENODEV too. It's probably
> >> git-acpi. I tried to revert it but there are lots of other patches
> >> depending on it, so I finally gave up.
> >>
> >>
> >
> >OK, let me try to reproduce this. acpi and cpufreq are fully merged up, so
> >this bug may well be in mainline now.
> >
> >
> >
> >> 3) wpa_supplicant does not find my WPA network anymore (while iwlist
> >> scanning sees). I didn't see anything relevant in dmesg. My driver is
> >> ipw2200.
> >>
> >>
> >
> >It's things like this which make me consider a career in carpentry.
> >
> >I assume 2.6.15 works OK?
> >
> >
>
> 2.6.15 and 2.6.15-git3 both don't show any of these issues. Did acpi and
> cpufreq get merged after -git3 ?
>
Well whatever bug it is, it's in Linus's tree now. Happens for me too.
I traced the failure down as far as acpi_processor_get_performance_info(),
where it's failing here:
status = acpi_get_handle(pr->handle, "_PCT", &handle);
if (ACPI_FAILURE(status)) {
ACPI_DEBUG_PRINT((ACPI_DB_INFO,
"ACPI-based processor performance control unavailable\n"));
return_VALUE(-ENODEV);
}
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: 2.6.15-mm2
[not found] ` <20060108042425.4d0b8a76.akpm-3NddpPZAyC0@public.gmane.org>
@ 2006-01-08 14:39 ` Brice Goglin
[not found] ` <43C12404.1010306-vYW+cPY1g1pg9hUCZPvPmw@public.gmane.org>
0 siblings, 1 reply; 8+ messages in thread
From: Brice Goglin @ 2006-01-08 14:39 UTC (permalink / raw)
To: Andrew Morton
Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA,
len.brown-ral2JQCrhuEAvxtiuMwx3w,
linux-acpi-u79uwXL29TY76Z2rM5mHXA
Andrew Morton wrote:
>Well whatever bug it is, it's in Linus's tree now. Happens for me too.
>
>
>
Happens for you in -git4 ? Does not here...
Brice
>I traced the failure down as far as acpi_processor_get_performance_info(),
>where it's failing here:
>
> status = acpi_get_handle(pr->handle, "_PCT", &handle);
> if (ACPI_FAILURE(status)) {
> ACPI_DEBUG_PRINT((ACPI_DB_INFO,
> "ACPI-based processor performance control unavailable\n"));
> return_VALUE(-ENODEV);
> }
>
>
>
>
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: 2.6.15-mm2
[not found] ` <43C12404.1010306-vYW+cPY1g1pg9hUCZPvPmw@public.gmane.org>
@ 2006-01-08 18:56 ` Andrew Morton
0 siblings, 0 replies; 8+ messages in thread
From: Andrew Morton @ 2006-01-08 18:56 UTC (permalink / raw)
To: Brice Goglin
Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA,
len.brown-ral2JQCrhuEAvxtiuMwx3w,
linux-acpi-u79uwXL29TY76Z2rM5mHXA
Brice Goglin <Brice.Goglin-vYW+cPY1g1pg9hUCZPvPmw@public.gmane.org> wrote:
>
> Andrew Morton wrote:
>
> >Well whatever bug it is, it's in Linus's tree now. Happens for me too.
> >
> >
> >
> Happens for you in -git4 ?
Yup.
> Does not here...
grr.
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: 2.6.15-mm2
[not found] ` <1136716282.7377.1.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
@ 2006-01-09 5:03 ` Dave Jones
0 siblings, 0 replies; 8+ messages in thread
From: Dave Jones @ 2006-01-09 5:03 UTC (permalink / raw)
To: Erik Slagter; +Cc: linux-acpi-u79uwXL29TY76Z2rM5mHXA
On Sun, Jan 08, 2006 at 11:31:22AM +0100, Erik Slagter wrote:
> On Sat, 2006-01-07 at 14:58 -0800, Andrew Morton wrote:
>
> > I assume 2.6.15 works OK?
> >
> > Unfortunately I don't know diddly about wpa_supplicant (how come FC5-test1
> > doesn't ship it?)
>
> Yeah, for some odd reason FC doesn't ship wpa_supplicant, forcing all
> those poor users to use WEP "encryption" :-(
http://www.iceni.org/cgi-bin/blosxom.cgi//2006/01/08#NetworkManager_now_has_WPA_support
Dave
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2006-01-09 5:03 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20060107052221.61d0b600.akpm@osdl.org>
[not found] ` <20060107052221.61d0b600.akpm-3NddpPZAyC0@public.gmane.org>
2006-01-07 18:19 ` [-mm patch] drivers/acpi/: make two functions static Adrian Bunk
[not found] ` <43C0172E.7040607@ens-lyon.org>
[not found] ` <43C0172E.7040607-vYW+cPY1g1pg9hUCZPvPmw@public.gmane.org>
2006-01-07 22:58 ` 2.6.15-mm2 Andrew Morton
[not found] ` <20060107145800.113d7de5.akpm-3NddpPZAyC0@public.gmane.org>
2006-01-07 23:38 ` 2.6.15-mm2 Brice Goglin
[not found] ` <43C050FA.9040400-vYW+cPY1g1pg9hUCZPvPmw@public.gmane.org>
2006-01-08 12:24 ` 2.6.15-mm2 Andrew Morton
[not found] ` <20060108042425.4d0b8a76.akpm-3NddpPZAyC0@public.gmane.org>
2006-01-08 14:39 ` 2.6.15-mm2 Brice Goglin
[not found] ` <43C12404.1010306-vYW+cPY1g1pg9hUCZPvPmw@public.gmane.org>
2006-01-08 18:56 ` 2.6.15-mm2 Andrew Morton
2006-01-08 10:31 ` 2.6.15-mm2 Erik Slagter
[not found] ` <1136716282.7377.1.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2006-01-09 5:03 ` 2.6.15-mm2 Dave Jones
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox