Thread (5 messages) 5 messages, 4 authors, 2021-01-12

Re: [pm:bleeding-edge 20/29] drivers/acpi/platform_profile.c:67:33: error: passing 'const struct platform_profile_handler to parameter of type 'struct platform_profile_handler discards qualifiers

From: "Rafael J. Wysocki" <rafael@kernel.org>
Date: 2021-01-12 13:50:40
Also in: linux-acpi, oe-kbuild-all

On Tue, Jan 12, 2021 at 1:11 PM Hans de Goede [off-list ref] wrote:
Hi,

On 1/12/21 1:07 PM, Jiaxun Yang wrote:
quoted
在 2021/1/12 下午6:42, Hans de Goede 写道:
quoted
Hi,

On 1/8/21 9:52 AM, kernel test robot wrote:
[...]
quoted
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <redacted>

All errors (new ones prefixed by >>):
[...]
quoted
quoted
    2 errors generated.
Oops, thanks for the reminder, I should exclude 0day CI from mail filter.
It's wired that GCC didn't say anything about it.
quoted
Ugh, so that means that the current version of the
"ACPI: platform-profile: Pass profile pointer to driver callbacks"
patch is no good. Since this is causing compile errors I assume
that it will be dropped from the bleeding-edge branch.
Is that right Rafael?
I'm not familiar with x86pdx and ACPI workflow.
Should I resend the patch or send a fixup patch?
I believe a new version of the patch is best, then Rafael can
replace the broken patch. We want to avoid having a commit in
git history which does not compile in some cases, because that
creates problems when git bisecting.
That's right.

If the plan is to drop the "const" everywhere, I would appreciate an
additional patch to do that on top of the two from Mark and a new
patch adding a new callback on top of that.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help