public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: "Rafael J. Wysocki" <rjw@sisk.pl>
To: Norbert Preining <preining@logic.at>
Cc: linux-acpi@vger.kernel.org
Subject: Re: help with fixing code for 2.6.29-rc7
Date: Thu, 12 Mar 2009 14:41:13 +0100	[thread overview]
Message-ID: <200903121441.13936.rjw@sisk.pl> (raw)
In-Reply-To: <20090312115032.GB26205@gamma.logic.tuwien.ac.at>

On Thursday 12 March 2009, Norbert Preining wrote:
> Hi everyone,
> 
> I am trying to fix some code for 2.6.29-rc7:
> 
> ... acpi_handle handle ...
> 
>         struct acpi_namespace_node *node;
>         union acpi_operand_object *operand;
> 
> 1       node = (struct acpi_namespace_node *)handle;
> 2       operand = (union acpi_operand_object *)node->object;
> 
> 3       printk(KERN_WARNING DRV_PFX "method: name: %4.4s, args %X\n", node->name.ascii,
> 4              (u32) operand->method.param_count);
> 
> Compiling that I get errors
> 	error: dereferencing pointer to incomplete type
> in line 2,3,4.
> 
> Any suggestion how to fix that?

Seemingly, struct acpi_namespace_node is undefined.

Thanks,
Rafael

  reply	other threads:[~2009-03-12 13:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-12 11:50 help with fixing code for 2.6.29-rc7 Norbert Preining
2009-03-12 13:41 ` Rafael J. Wysocki [this message]
2009-03-12 23:43   ` Norbert Preining

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=200903121441.13936.rjw@sisk.pl \
    --to=rjw@sisk.pl \
    --cc=linux-acpi@vger.kernel.org \
    --cc=preining@logic.at \
    /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