public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Randy Dunlap <randy.dunlap@oracle.com>
To: Len Brown <lenb@kernel.org>
Cc: werner <w.landgraf@ru.ru>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	linux-acpi@vger.kernel.org
Subject: Re: kernel problem 2.6.33-rc2
Date: Sun, 27 Dec 2009 20:16:23 -0800	[thread overview]
Message-ID: <20091227201623.07e71915.randy.dunlap@oracle.com> (raw)
In-Reply-To: <alpine.LFD.2.00.0912252318090.4046@localhost.localdomain>

On Fri, 25 Dec 2009 23:18:57 -0500 (EST) Len Brown wrote:

> > dell_wmi_init
> 
> Please try this patch.
> 
> From d11e073ee3e3091d9190dace97ce480e960cca1b Mon Sep 17 00:00:00 2001
> From: Len Brown <len.brown@intel.com>
> Date: Fri, 25 Dec 2009 23:14:26 -0500
> Subject: [PATCH] Revert "wmi: Free the allocated acpi objects through wmi_get_event_data"
> X-Patchwork-Hint: ignore
> 
> This reverts commit 3e9b988e4edf065d39c1343937f717319b1c1065.
> 
> Reported-by: Sedat Dilek <sedat.dilek@googlemail.com>
> Tested-by Maciej Rutecki <maciej.rutecki@gmail.com>
> Signed-off-by: Len Brown <len.brown@intel.com>
> ---
>  drivers/platform/x86/dell-wmi.c |    1 -
>  drivers/platform/x86/hp-wmi.c   |    2 --
>  drivers/platform/x86/wmi.c      |    4 ++--
>  3 files changed, 2 insertions(+), 5 deletions(-)

> diff --git a/drivers/platform/x86/wmi.c b/drivers/platform/x86/wmi.c
> index 9f93d6c..e425a86 100644
> --- a/drivers/platform/x86/wmi.c
> +++ b/drivers/platform/x86/wmi.c
> @@ -540,8 +540,8 @@ EXPORT_SYMBOL_GPL(wmi_remove_notify_handler);
>  /**
>   * wmi_get_event_data - Get WMI data associated with an event
>   *
> - * @event: Event to find
> - * @out: Buffer to hold event data. out->pointer should be freed with kfree()
> + * @event - Event to find
> + * &out - Buffer to hold event data

The '+' kernel-doc formatting is incorrect.
Needs to use ':'s and @out.


>   *
>   * Returns extra data associated with an event in WMI.
>   */


---
~Randy

  reply	other threads:[~2009-12-28  4:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <web-122887026@zbackend1.aha.ru>
2009-12-26  4:18 ` kernel problem 2.6.33-rc2 Len Brown
2009-12-28  4:16   ` Randy Dunlap [this message]
2009-12-28  9:34   ` Anisse Astier

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=20091227201623.07e71915.randy.dunlap@oracle.com \
    --to=randy.dunlap@oracle.com \
    --cc=lenb@kernel.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=w.landgraf@ru.ru \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox