All of lore.kernel.org
 help / color / mirror / Atom feed
* help with fixing code for 2.6.29-rc7
@ 2009-03-12 11:50 Norbert Preining
  2009-03-12 13:41 ` Rafael J. Wysocki
  0 siblings, 1 reply; 3+ messages in thread
From: Norbert Preining @ 2009-03-12 11:50 UTC (permalink / raw)
  To: linux-acpi

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?

Thanks a lot

Norbert

-------------------------------------------------------------------------------
Dr. Norbert Preining <preining@logic.at>        Vienna University of Technology
Debian Developer <preining@debian.org>                         Debian TeX Group
gpg DSA: 0x09C5B094      fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
RUNCORN (n.)
A peeble (q.v.) which is larger that a belper (q.v.)
			--- Douglas Adams, The Meaning of Liff

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-03-12 23:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-12 11:50 help with fixing code for 2.6.29-rc7 Norbert Preining
2009-03-12 13:41 ` Rafael J. Wysocki
2009-03-12 23:43   ` Norbert Preining

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.