From patchwork Thu Apr 9 23:04:45 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Stultz X-Patchwork-Id: 46989 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f200.google.com (mail-wi0-f200.google.com [209.85.212.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 54F6B218D6 for ; Thu, 9 Apr 2015 23:04:54 +0000 (UTC) Received: by widjs5 with SMTP id js5sf977630wid.3 for ; Thu, 09 Apr 2015 16:04:53 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=lY5AXKggmYGdbcBn90sPQyXtVhmTmGQzh8Vwn7e0F7Q=; b=eDW23oWut7PNCneeQIc4flVIViqoiR0IxJk5hy8UDy/YrUWlbcNaIRJOM4UEcXHBx2 IGFqGznlsrNuteUhThsDpHsP3CP4qelMFudLieyhjbTUqBXfi8/rzF40NQmMJvCuWcdN DKuQJAopalYzmVdEiRtciFhcpiL6wkdqI3l3K0qlFiNlkGdZQq5XOavpwGdZnTuh7GF7 OVXIICP0rD4moV/LhzgYFAlQKaZwEDKEjFTqkfMf+XVVcIDfqJEwTRSCyLgDNAhNMZhe AAFM0bMGmras+JOeKAL2dwERL1qzzEqBn6v2MxnMHMQu/aUt+ZaH8v+UisQhV4lq3EtJ J8sQ== X-Gm-Message-State: ALoCoQl30at3kYweuVkGnwu7jeKAbaYVvjhdkFFTw2xAKMvi6zR5E/MsNUapchCOoUZox8WrYs/f X-Received: by 10.194.143.98 with SMTP id sd2mr800319wjb.6.1428620693587; Thu, 09 Apr 2015 16:04:53 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.224.165 with SMTP id rd5ls358491lac.77.gmail; Thu, 09 Apr 2015 16:04:53 -0700 (PDT) X-Received: by 10.152.120.70 with SMTP id la6mr6720385lab.65.1428620693431; Thu, 09 Apr 2015 16:04:53 -0700 (PDT) Received: from mail-lb0-f181.google.com (mail-lb0-f181.google.com. [209.85.217.181]) by mx.google.com with ESMTPS id ld16si90947lbb.169.2015.04.09.16.04.53 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 09 Apr 2015 16:04:53 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.181 as permitted sender) client-ip=209.85.217.181; Received: by lbbqq2 with SMTP id qq2so1377305lbb.3 for ; Thu, 09 Apr 2015 16:04:53 -0700 (PDT) X-Received: by 10.152.36.2 with SMTP id m2mr6364897laj.72.1428620692995; Thu, 09 Apr 2015 16:04:52 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.112.67.65 with SMTP id l1csp751384lbt; Thu, 9 Apr 2015 16:04:52 -0700 (PDT) X-Received: by 10.66.154.111 with SMTP id vn15mr4429578pab.108.1428620690799; Thu, 09 Apr 2015 16:04:50 -0700 (PDT) Received: from mail-pa0-f42.google.com (mail-pa0-f42.google.com. [209.85.220.42]) by mx.google.com with ESMTPS id sz10si224782pab.68.2015.04.09.16.04.50 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 09 Apr 2015 16:04:50 -0700 (PDT) Received-SPF: pass (google.com: domain of john.stultz@linaro.org designates 209.85.220.42 as permitted sender) client-ip=209.85.220.42; Received: by paboj16 with SMTP id oj16so2400812pab.0 for ; Thu, 09 Apr 2015 16:04:49 -0700 (PDT) X-Received: by 10.70.41.38 with SMTP id c6mr60580570pdl.69.1428620689929; Thu, 09 Apr 2015 16:04:49 -0700 (PDT) Received: from localhost.localdomain (c-67-170-153-23.hsd1.or.comcast.net. [67.170.153.23]) by mx.google.com with ESMTPSA id bs4sm105499pdb.21.2015.04.09.16.04.49 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 09 Apr 2015 16:04:49 -0700 (PDT) From: John Stultz To: projectara-software-dev Cc: Alex Elder , Greg Kroah-Hartman , Johan Hovold , John Stultz Subject: [PATCH 1/2] gbsim: Add __packed attribute macro Date: Thu, 9 Apr 2015 16:04:45 -0700 Message-Id: <1428620686-9326-1-git-send-email-john.stultz@linaro.org> X-Mailer: git-send-email 1.9.1 X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: john.stultz@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.181 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Add __packed attribute macro which allows us to use kernel structures that use it instead of __attribute__(__packed__). Cc: Alex Elder Cc: Greg Kroah-Hartman CC: Johan Hovold Signed-off-by: John Stultz --- gbsim.h | 1 + 1 file changed, 1 insertion(+) diff --git a/gbsim.h b/gbsim.h index f4dcc84..91e5e0b 100644 --- a/gbsim.h +++ b/gbsim.h @@ -13,6 +13,7 @@ #include #include +#define __packed __attribute__((__packed__)) #include "i2s.h"