From patchwork Fri Nov 26 19:57:36 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Achatz X-Patchwork-Id: 359822 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id oAQJxSDC017696 for ; Fri, 26 Nov 2010 19:59:29 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751658Ab0KZT5k (ORCPT ); Fri, 26 Nov 2010 14:57:40 -0500 Received: from mail-in-14.arcor-online.net ([151.189.21.54]:41417 "EHLO mail-in-14.arcor-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751596Ab0KZT5i (ORCPT ); Fri, 26 Nov 2010 14:57:38 -0500 Received: from mail-in-14-z2.arcor-online.net (mail-in-14-z2.arcor-online.net [151.189.8.31]) by mx.arcor.de (Postfix) with ESMTP id 6A46D17357C; Fri, 26 Nov 2010 20:57:37 +0100 (CET) Received: from mail-in-01.arcor-online.net (mail-in-01.arcor-online.net [151.189.21.41]) by mail-in-14-z2.arcor-online.net (Postfix) with ESMTP id 5D7B61BB5E6; Fri, 26 Nov 2010 20:57:37 +0100 (CET) Received: from [192.168.0.7] (dslb-088-067-007-010.pools.arcor-ip.net [88.67.7.10]) (Authenticated sender: screamingfist@arcor.de) by mail-in-01.arcor-online.net (Postfix) with ESMTPSA id CED185A0EF; Fri, 26 Nov 2010 20:57:36 +0100 (CET) X-DKIM: Sendmail DKIM Filter v2.8.2 mail-in-01.arcor-online.net CED185A0EF Subject: [PATCH 3/5] HID: roccat: declaring meaning of pack pragma usage in driver headers From: Stefan Achatz Reply-To: erazor_de@users.sourceforge.net To: Randy Dunlap , Greg Kroah-Hartman , Jiri Kosina , Stefan Achatz , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-input@vger.kernel.org, netdev@vger.kernel.org Date: Fri, 26 Nov 2010 20:57:36 +0100 Message-ID: <1290801456.18750.164.camel@neuromancer> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 (2.30.3-1.fc13) Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Fri, 26 Nov 2010 19:59:29 +0000 (UTC) diff --git a/drivers/hid/hid-roccat-kone.h b/drivers/hid/hid-roccat-kone.h index 130d656..11203a7 100644 --- a/drivers/hid/hid-roccat-kone.h +++ b/drivers/hid/hid-roccat-kone.h @@ -14,6 +14,9 @@ #include +/* + * Binary data structures used for hardware communication must have no padding. + */ #pragma pack(push) #pragma pack(1) diff --git a/drivers/hid/hid-roccat-pyra.h b/drivers/hid/hid-roccat-pyra.h index 22f80a8..ac5996e 100644 --- a/drivers/hid/hid-roccat-pyra.h +++ b/drivers/hid/hid-roccat-pyra.h @@ -14,6 +14,9 @@ #include +/* + * Binary data structures used for hardware communication must have no padding. + */ #pragma pack(push) #pragma pack(1)