From patchwork Tue Nov 12 12:27:07 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xiaofei Tan X-Patchwork-Id: 11239221 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 673AC16B1 for ; Tue, 12 Nov 2019 12:30:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5198B21925 for ; Tue, 12 Nov 2019 12:30:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727002AbfKLMav (ORCPT ); Tue, 12 Nov 2019 07:30:51 -0500 Received: from szxga07-in.huawei.com ([45.249.212.35]:41274 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726988AbfKLMav (ORCPT ); Tue, 12 Nov 2019 07:30:51 -0500 Received: from DGGEMS405-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id EAC559130E44FA4FC548; Tue, 12 Nov 2019 20:30:31 +0800 (CST) Received: from localhost.localdomain (10.69.192.58) by DGGEMS405-HUB.china.huawei.com (10.3.19.205) with Microsoft SMTP Server id 14.3.439.0; Tue, 12 Nov 2019 20:30:22 +0800 From: Xiaofei Tan To: , CC: Xiaofei Tan , , , Subject: [PATCH 2/9] rasdaemon: fix an warning reported by PC-Lint Date: Tue, 12 Nov 2019 20:27:07 +0800 Message-ID: <1573561634-225173-3-git-send-email-tanxiaofei@huawei.com> X-Mailer: git-send-email 2.8.1 In-Reply-To: <1573561634-225173-1-git-send-email-tanxiaofei@huawei.com> References: <1573561634-225173-1-git-send-email-tanxiaofei@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.69.192.58] X-CFilter-Loop: Reflected Sender: linux-edac-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-edac@vger.kernel.org This patch fixes the following warning, and no function change. Warning -- Storage class specified after a type Signed-off-by: Xiaofei Tan --- non-standard-hisi_hip08.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/non-standard-hisi_hip08.c b/non-standard-hisi_hip08.c index 1774ec7..5e4b6a0 100644 --- a/non-standard-hisi_hip08.c +++ b/non-standard-hisi_hip08.c @@ -811,8 +811,7 @@ struct ras_ns_dec_tab hip08_ns_oem_tab[] = { { /* sentinel */ } }; -__attribute__((constructor)) -static void hip08_init(void) +static void __attribute__((constructor)) hip08_init(void) { register_ns_dec_tab(hip08_ns_oem_tab); }