From: Guenter Roeck <linux@roeck-us.net>
To: lm-sensors@vger.kernel.org
Subject: Re: [lm-sensors] [PATCH 1/1] hwmon: (acpi_power_meter) Fix incorrect placement of __initdata
Date: Tue, 27 Aug 2013 15:25:01 +0000 [thread overview]
Message-ID: <20130827152501.GA14632@roeck-us.net> (raw)
In-Reply-To: <1375868833-566-1-git-send-email-sachin.kamat@linaro.org>
On Tue, Aug 27, 2013 at 03:10:43PM +0100, Russell King - ARM Linux wrote:
> On Tue, Aug 27, 2013 at 03:57:53PM +0200, Jean Delvare wrote:
> > Also note that the fix Sachin sent for acpi_power_meter is slightly
> > different from what Russell complained about originally. Russell
> > complained about:
> >
> > struct __initdata foo bar;
> >
> > While acpi_power_meter uses:
> >
> > struct foo __initdata bar;
> >
> > The former does indeed NOT work in my tests, so Russell was right
> > complaining. The good news is that there are only a few dozen
> > occurrences of this in the kernel tree.
>
> Indeed - and these "don't work" ones are definitely worth fixing.
>
> > The later OTOH works fine in my tests so I see no reason to change it -
> > unless someone can find a gcc version and platform combination where it
> > does not work. Hope this clarifies the whole situation...
>
> Yes, better not to change what's already there if it works fine.
Since the patch discussed here is a working case and doesn't need to get fixed,
I'll drop it from my queue.
Guenter
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
next prev parent reply other threads:[~2013-08-27 15:25 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-07 9:59 [lm-sensors] [PATCH 1/1] hwmon: (acpi_power_meter) Fix incorrect placement of __initdata Sachin Kamat
2013-08-07 10:59 ` Guenter Roeck
2013-08-26 20:47 ` Jean Delvare
2013-08-26 22:48 ` Guenter Roeck
2013-08-27 11:14 ` Jean Delvare
2013-08-27 11:30 ` Russell King - ARM Linux
2013-08-27 13:37 ` Guenter Roeck
2013-08-27 13:57 ` Jean Delvare
2013-08-27 14:07 ` Russell King - ARM Linux
2013-08-27 14:10 ` Russell King - ARM Linux
2013-08-27 14:13 ` Jean Delvare
2013-08-27 14:50 ` Sachin Kamat
2013-08-27 14:55 ` Sachin Kamat
2013-08-27 14:57 ` Jean Delvare
2013-08-27 14:59 ` Jean Delvare
2013-08-27 15:25 ` Guenter Roeck [this message]
2013-08-27 15:30 ` Jean Delvare
2013-08-27 15:33 ` Guenter Roeck
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130827152501.GA14632@roeck-us.net \
--to=linux@roeck-us.net \
--cc=lm-sensors@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.