[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080820102125.GA14278@srcf.ucam.org>
Date: Wed, 20 Aug 2008 11:21:25 +0100
From: Matthew Garrett <mjg59@...f.ucam.org>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: linux-kernel@...r.kernel.org, michael_e_brown@...l.com
Subject: Re: [PATCH 2/2] Add Dell laptop driver
On Tue, Aug 19, 2008 at 11:46:37PM -0700, Andrew Morton wrote:
> > +struct calling_interface_buffer {
> > + u16 class;
> > + u16 select;
> > + volatile u32 input[4];
> > + volatile u32 output[4];
> > +} __attribute__ ((packed));
>
> checkpatch will direct you to a fine document.
The address of the structure is passed to the BIOS, and it's then
modified in system management mode. I think volatile is the right thing
here? I'll fix up the rest.
--
Matthew Garrett | mjg59@...f.ucam.org
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists