All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kevin Hilman <khilman@ti.com>
To: aaro.koskinen@nokia.com
Cc: linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH] arm: mach-omap2: pm: cleanup !CONFIG_SUSPEND handling
Date: Thu, 06 Jan 2011 09:03:28 -0800	[thread overview]
Message-ID: <87ei8qx8v3.fsf@ti.com> (raw)
In-Reply-To: <BC214410FD04D84F9079A62423659707161C0C@008-AM1MPN1-003.mgdnok.nokia.com> (aaro koskinen's message of "Thu, 6 Jan 2011 10:15:50 +0000")

<aaro.koskinen@nokia.com> writes:

> Hi,
>
> Kevin Hilman [khilman@ti.com]:
>> Aaro Koskinen <aaro.koskinen@nokia.com> writes:
>>
>> > Make !CONFIG_SUSPEND init declarations identical on all OMAPs and
>> > eliminate some ifdefs.
>> >
>> > Signed-off-by: Aaro Koskinen <aaro.koskinen@nokia.com>
>>
>> I like this solution, but it introduces compiler warnings:
>>
>> [...]
>>
>> As you likely noticed, removing the const leads to checkpatch warnings:
>>
>> WARNING: struct platform_suspend_ops should normally be const
>>
>> so the choice is between a checkpatch warning or a bunch of compiler
>> warnings.
>>
>> Alternatively, I just posted a patch[1] to linux-pm propsing to fix this
>> at the source.  Let's see what happens there.  Merging $SUBJECT patch
>> will depend on how this is fixed upstream.
>
> Sorry, I should have mentioned this when I posted the patch. I was aware of
> this issue, but I thought this was already fixed in upstream. Check the following
> commit in linux-next:
>
> http://git.kernel.org/?p=linux/kernel/git/next/linux-next.git;a=commitdiff;h=2f55ac072f5344519348c0c94b3d2f4cca46847b
>
> (suspend: constify platform_suspend_ops)

ah, thanks.  somehow I missed that one when looking to see if this was
already fixed.

Kevin


WARNING: multiple messages have this Message-ID (diff)
From: khilman@ti.com (Kevin Hilman)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] arm: mach-omap2: pm: cleanup !CONFIG_SUSPEND handling
Date: Thu, 06 Jan 2011 09:03:28 -0800	[thread overview]
Message-ID: <87ei8qx8v3.fsf@ti.com> (raw)
In-Reply-To: <BC214410FD04D84F9079A62423659707161C0C@008-AM1MPN1-003.mgdnok.nokia.com> (aaro koskinen's message of "Thu, 6 Jan 2011 10:15:50 +0000")

<aaro.koskinen@nokia.com> writes:

> Hi,
>
> Kevin Hilman [khilman at ti.com]:
>> Aaro Koskinen <aaro.koskinen@nokia.com> writes:
>>
>> > Make !CONFIG_SUSPEND init declarations identical on all OMAPs and
>> > eliminate some ifdefs.
>> >
>> > Signed-off-by: Aaro Koskinen <aaro.koskinen@nokia.com>
>>
>> I like this solution, but it introduces compiler warnings:
>>
>> [...]
>>
>> As you likely noticed, removing the const leads to checkpatch warnings:
>>
>> WARNING: struct platform_suspend_ops should normally be const
>>
>> so the choice is between a checkpatch warning or a bunch of compiler
>> warnings.
>>
>> Alternatively, I just posted a patch[1] to linux-pm propsing to fix this
>> at the source.  Let's see what happens there.  Merging $SUBJECT patch
>> will depend on how this is fixed upstream.
>
> Sorry, I should have mentioned this when I posted the patch. I was aware of
> this issue, but I thought this was already fixed in upstream. Check the following
> commit in linux-next:
>
> http://git.kernel.org/?p=linux/kernel/git/next/linux-next.git;a=commitdiff;h=2f55ac072f5344519348c0c94b3d2f4cca46847b
>
> (suspend: constify platform_suspend_ops)

ah, thanks.  somehow I missed that one when looking to see if this was
already fixed.

Kevin

  reply	other threads:[~2011-01-06 17:03 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-29 16:34 [PATCH] arm: mach-omap2: pm: cleanup !CONFIG_SUSPEND handling Aaro Koskinen
2010-12-29 16:34 ` Aaro Koskinen
2011-01-04 22:41 ` Kevin Hilman
2011-01-04 22:41   ` Kevin Hilman
2011-01-06  0:25 ` Kevin Hilman
2011-01-06  0:25   ` Kevin Hilman
2011-01-06 10:15   ` aaro.koskinen
2011-01-06 10:15     ` aaro.koskinen at nokia.com
2011-01-06 17:03     ` Kevin Hilman [this message]
2011-01-06 17:03       ` Kevin Hilman
2011-01-06 22:31       ` Kevin Hilman
2011-01-06 22:31         ` Kevin Hilman
2011-01-06 11:19   ` Russell King - ARM Linux
2011-01-06 11:19     ` Russell King - ARM Linux
2011-01-06 12:05     ` aaro.koskinen
2011-01-06 12:05       ` aaro.koskinen at nokia.com
2011-01-06 13:58       ` Russell King - ARM Linux
2011-01-06 13:58         ` Russell King - ARM Linux

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=87ei8qx8v3.fsf@ti.com \
    --to=khilman@ti.com \
    --cc=aaro.koskinen@nokia.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-omap@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.