From patchwork Sat Nov 6 18:53:32 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Achatz X-Patchwork-Id: 306232 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 oA6IraBP029776 for ; Sat, 6 Nov 2010 18:53:36 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752604Ab0KFSxf (ORCPT ); Sat, 6 Nov 2010 14:53:35 -0400 Received: from mail-in-15.arcor-online.net ([151.189.21.55]:48407 "EHLO mail-in-15.arcor-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752144Ab0KFSxe (ORCPT ); Sat, 6 Nov 2010 14:53:34 -0400 Received: from mail-in-16-z2.arcor-online.net (mail-in-16-z2.arcor-online.net [151.189.8.33]) by mx.arcor.de (Postfix) with ESMTP id 43B611AC9C4; Sat, 6 Nov 2010 19:53:33 +0100 (CET) Received: from mail-in-09.arcor-online.net (mail-in-09.arcor-online.net [151.189.21.49]) by mail-in-16-z2.arcor-online.net (Postfix) with ESMTP id 3C61B3FE09A; Sat, 6 Nov 2010 19:53:33 +0100 (CET) Received: from [192.168.0.7] (dslb-084-057-024-177.pools.arcor-ip.net [84.57.24.177]) by mail-in-09.arcor-online.net (Postfix) with ESMTPS id 7B55D197BA1; Sat, 6 Nov 2010 19:53:32 +0100 (CET) X-DKIM: Sendmail DKIM Filter v2.8.2 mail-in-09.arcor-online.net 7B55D197BA1 Subject: [PATCH 3/3] HID: roccat: declaring meaning of pack pragma usage in kone and pyra driver From: Stefan Achatz Reply-To: erazor_de@users.sourceforge.net To: Jiri Kosina Cc: Randy Dunlap , Bruno =?ISO-8859-1?Q?Pr=E9mont?= , Stephane Chatty , Don Prince , Dmitry Torokhov , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-input@vger.kernel.org In-Reply-To: References: <1287943025.2623.16.camel@neuromancer> <1288978962.2585.15.camel@neuromancer> Date: Sat, 06 Nov 2010 19:53:32 +0100 Message-ID: <1289069612.5166.4.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]); Sat, 06 Nov 2010 18:53:36 +0000 (UTC) diff --git a/drivers/hid/hid-roccat-kone.h b/drivers/hid/hid-roccat-kone.h index 130d656..cb0ed99 100644 --- a/drivers/hid/hid-roccat-kone.h +++ b/drivers/hid/hid-roccat-kone.h @@ -14,6 +14,9 @@ #include +/* + * Binary data structures for communication with hardware 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..31d7b3e 100644 --- a/drivers/hid/hid-roccat-pyra.h +++ b/drivers/hid/hid-roccat-pyra.h @@ -14,6 +14,9 @@ #include +/* + * Binary data structures for communication with hardware must have no padding. + */ #pragma pack(push) #pragma pack(1)