Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp2009881pxf; Fri, 26 Mar 2021 23:55:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx8xPXmzyGEw39zSwQ4vXcSxOsV75G6dNBWEP3977LfsQVpFyluEpQq7i/qkprOShj+vbor X-Received: by 2002:a17:906:7c44:: with SMTP id g4mr18830449ejp.269.1616828112076; Fri, 26 Mar 2021 23:55:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616828112; cv=none; d=google.com; s=arc-20160816; b=gleiOfadExqCT799O+mirH6djYMC4XxaJBtrGSGtFAkT47wVy32QD3kgTySAICzvDN wAzdY+4sNawvt3DaAWa6s1vhoY0hpBtTfxpLwLT8XB3wfXhZh5mVZwt5y4T6sqqWop0o 8rzcUNMByhNg+wgQf5m3Z+fuV+fzK3URRsEE241hMNNMgrykQYGl+u9amUrDBfc6XS57 BPR+S1FN84TYBrrtoYRQ7HWsrYK4V/W2CyooUWNGA271N7eZ58QMlFRMsgrvMR6tAI5j CmJF/OOIlGK2li+zT290wj7sZ8pq6ajfcDdzF/3gXdEGTeXHvXCqF24qz7zVXfeEgT8y IVkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from; bh=fWgsxJsQ4QEc5yqYtlGFNDE0kHwcLMpzjM21T7QyD8s=; b=ubUAp5rQRXFOZ5j4PGLskRD9zsS+kzf3OQ+/ZOHS/9Iir1TWUsz6MzqTQ5Bab9Uifb KDX7Xx74glWt/fT2r3+/lPyzSXoIgSD19Hid9g4LRZflJjPxWwJlqbwqvL7KSlkKe6X9 nbGBt/B7gedy4mO2o+YwsazBeyAWxC/mnER1mMpfprKsaXqICoBHt6MNnSgE/tXg/AVS tIgpsHrRpp5kI8OI+pp7eDDi4coYJOIXMUd1PujAAW9OTDuKipLCBltMJvloFmS6meWb VgvOYrxKjSJhXBctsLJLQwN1WtyV97FVl/Lhw8RIfZZBqm3VrT70HLB/pU+5KbIveNMC 1p+w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k24si8558629ejs.280.2021.03.26.23.54.50; Fri, 26 Mar 2021 23:55:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231478AbhC0Go2 (ORCPT + 99 others); Sat, 27 Mar 2021 02:44:28 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:15332 "EHLO szxga07-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231240AbhC0GoB (ORCPT ); Sat, 27 Mar 2021 02:44:01 -0400 Received: from DGGEMS413-HUB.china.huawei.com (unknown [172.30.72.58]) by szxga07-in.huawei.com (SkyGuard) with ESMTP id 4F6q4m0j9Yz93nS; Sat, 27 Mar 2021 14:41:44 +0800 (CST) Received: from localhost.localdomain (10.67.165.24) by DGGEMS413-HUB.china.huawei.com (10.3.19.213) with Microsoft SMTP Server id 14.3.498.0; Sat, 27 Mar 2021 14:43:35 +0800 From: Xiaofei Tan To: , , , CC: Xiaofei Tan , , , , Subject: [PATCH 04/15] ACPI: acpi_fpdt: replace __attribute__((packed)) by __packed Date: Sat, 27 Mar 2021 14:40:45 +0800 Message-ID: <1616827256-51840-5-git-send-email-tanxiaofei@huawei.com> X-Mailer: git-send-email 2.8.1 In-Reply-To: <1616827256-51840-1-git-send-email-tanxiaofei@huawei.com> References: <1616827256-51840-1-git-send-email-tanxiaofei@huawei.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.67.165.24] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Replace __attribute__((packed)) by __packed following the advice of checkpatch.pl. Signed-off-by: Xiaofei Tan --- drivers/acpi/acpi_fpdt.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/acpi/acpi_fpdt.c b/drivers/acpi/acpi_fpdt.c index a89a806..690a88a 100644 --- a/drivers/acpi/acpi_fpdt.c +++ b/drivers/acpi/acpi_fpdt.c @@ -53,7 +53,7 @@ struct resume_performance_record { u32 resume_count; u64 resume_prev; u64 resume_avg; -} __attribute__((packed)); +} __packed; struct boot_performance_record { struct fpdt_record_header header; @@ -63,13 +63,13 @@ struct boot_performance_record { u64 bootloader_launch; u64 exitbootservice_start; u64 exitbootservice_end; -} __attribute__((packed)); +} __packed; struct suspend_performance_record { struct fpdt_record_header header; u64 suspend_start; u64 suspend_end; -} __attribute__((packed)); +} __packed; static struct resume_performance_record *record_resume; -- 2.8.1