From patchwork Mon Feb 1 12:26:37 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chaehyun Lim X-Patchwork-Id: 8178581 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 589C3BEEE5 for ; Mon, 1 Feb 2016 12:27:07 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6F28B203E5 for ; Mon, 1 Feb 2016 12:27:06 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9C0AC203C4 for ; Mon, 1 Feb 2016 12:27:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932149AbcBAM1C (ORCPT ); Mon, 1 Feb 2016 07:27:02 -0500 Received: from mail-pf0-f196.google.com ([209.85.192.196]:33046 "EHLO mail-pf0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932143AbcBAM1A (ORCPT ); Mon, 1 Feb 2016 07:27:00 -0500 Received: by mail-pf0-f196.google.com with SMTP id x125so7540154pfb.0 for ; Mon, 01 Feb 2016 04:27:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=MzkQk6QpgGnn8U3Kp0fThFYSo/RnAx6PcSOdN9/9gys=; b=LaA3uyasRT1b4FNXq51xpWnkqiBMGHpJj30B5TofywgqHyI7ynNj3alJIH3LKRsSja k2ZlbAd5aY1uHXrJ97xBo/YqRcsDUyfu+Jg3IBLZDBx5IA/rjCI/WDsP2Mxqqj4QKbXO ek20IeTlUQ4DDRyXjWJNVVkMIjTVnNVh6AEfqOGQlYs8hqtsNSHKsM+R+CIf06lWehFn 6aKPMLxap3lrWTsYZVhoUOp6/NIQdbnuk4lYu5xmd3YC2oKE+l9W/gusQFtXOeQEg+vy yQtlf9REDRpAk9Su/FMOBp1NC1gcglFwFxR0/EQW2br5KML1mMPgvlWQYATSs+ooxzYR /jxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=MzkQk6QpgGnn8U3Kp0fThFYSo/RnAx6PcSOdN9/9gys=; b=ZCMXAxj74O1BEtCTUPDIt9NekYWLGT03v4S7TP5TLhoW3Okd45EtSoushpd9/H+9+0 /JK86Fc1ctm1w1Y2DOC1ChqXwt8xA+Ei6swP+U5TdSTtrfR0kf/dR6wDI78ATCY5Z78c 2iVwTSkmxerCZhk4MDI9+TWtFJvJbo2eVE4L2/2+MdFyHQZbsf+XSTWnXwyn84FRXKL9 wkYwjrLrNImZ9YYLBFI6dISgLUlwSeiDx9Dsk827MyJA2WcTd+Ip/cYXgQXaa10vsMw1 4A0g6N5UrO5cXCO//unXXLq3pd8yXIildef5qBEcHtWpf24iBVqUnvnSbQqdAIFTTTuV TgMg== X-Gm-Message-State: AG10YOR2eDA01SWzII66zoDPrWwLvjzfGinIs2ms+CSw95UMHK6Y2psBzPyGNCYZ0x9sVQ== X-Received: by 10.98.93.136 with SMTP id n8mr37687206pfj.88.1454329620170; Mon, 01 Feb 2016 04:27:00 -0800 (PST) Received: from localhost.localdomain ([218.233.16.2]) by smtp.gmail.com with ESMTPSA id y86sm42992851pfa.26.2016.02.01.04.26.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 01 Feb 2016 04:26:59 -0800 (PST) From: Chaehyun Lim To: gregkh@linuxfoundation.org Cc: johnny.kim@atmel.com, austin.shin@atmel.com, chris.park@atmel.com, tony.cho@atmel.com, glen.lee@atmel.com, leo.kim@atmel.com, linux-wireless@vger.kernel.org, devel@driverdev.osuosl.org, Chaehyun Lim Subject: [PATCH 01/11] staging: wilc1000: linux_mon: use __packed instead of __attribute__((packed)) Date: Mon, 1 Feb 2016 21:26:37 +0900 Message-Id: <1454329607-9486-1-git-send-email-chaehyun.lim@gmail.com> X-Mailer: git-send-email 2.7.0 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Spam-Status: No, score=-5.9 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,RCVD_IN_BRBL_LASTEXT,RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch fixes the following checkpatch warning: WARNING: __packed is preferred over __attribute__((packed)) Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/linux_mon.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/wilc1000/linux_mon.c b/drivers/staging/wilc1000/linux_mon.c index e550027..284dfb0 100644 --- a/drivers/staging/wilc1000/linux_mon.c +++ b/drivers/staging/wilc1000/linux_mon.c @@ -15,14 +15,14 @@ struct wilc_wfi_radiotap_hdr { struct ieee80211_radiotap_header hdr; u8 rate; -} __attribute__((packed)); +} __packed; struct wilc_wfi_radiotap_cb_hdr { struct ieee80211_radiotap_header hdr; u8 rate; u8 dump; u16 tx_flags; -} __attribute__((packed)); +} __packed; static struct net_device *wilc_wfi_mon; /* global monitor netdev */