From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Subject: Re: [PATCH 3/5] HID: roccat: declaring meaning of pack pragma usage in driver headers Date: Tue, 30 Nov 2010 09:40:52 -0800 Message-ID: <20101130174052.GA19977@kroah.com> References: <1290801456.18750.164.camel@neuromancer> <1290804616.3051.52.camel@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: erazor_de@users.sourceforge.net, Randy Dunlap , Greg Kroah-Hartman , Jiri Kosina , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-input@vger.kernel.org, netdev@vger.kernel.org To: Ben Hutchings Return-path: Content-Disposition: inline In-Reply-To: <1290804616.3051.52.camel@localhost> Sender: linux-doc-owner@vger.kernel.org List-Id: netdev.vger.kernel.org On Fri, Nov 26, 2010 at 08:50:16PM +0000, Ben Hutchings wrote: > On Fri, 2010-11-26 at 20:57 +0100, Stefan Achatz wrote: > > Using pack pragma to prevent padding bytes in binary data structures > > used for hardware communication. Explanation of these pragmas was requested. > [...] > > It would be clearer to use the '__packed' macro after each structure > definition instead of using this awful Microsoft extension. I agree, that's the "normal" Linux way of doing things. Other than that, this patch set looks good to me. Jiri, if the packed change is made, do you want me to take these through my tree, or do you want to take them through yours? Whatever is easier for you is fine with me. thanks, greg k-h