From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5A168C17441 for ; Tue, 12 Nov 2019 12:30:30 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3CCC321D7F for ; Tue, 12 Nov 2019 12:30:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725874AbfKLMaa (ORCPT ); Tue, 12 Nov 2019 07:30:30 -0500 Received: from szxga07-in.huawei.com ([45.249.212.35]:41162 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725865AbfKLMa3 (ORCPT ); Tue, 12 Nov 2019 07:30:29 -0500 Received: from DGGEMS405-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id C4A2240B04904A4B55EC; Tue, 12 Nov 2019 20:30:26 +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:17 +0800 From: Xiaofei Tan To: , CC: Xiaofei Tan , , , Subject: [PATCH 0/9] rasdaemon: fix some issues reported by static code analysis Date: Tue, 12 Nov 2019 20:27:05 +0800 Message-ID: <1573561634-225173-1-git-send-email-tanxiaofei@huawei.com> X-Mailer: git-send-email 2.8.1 MIME-Version: 1.0 Content-Type: text/plain 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 Fix some issues reported by static code analysis, and sub module name issue in the last patch 3/9 and 4/9. Xiaofei Tan (9): rasdaemon: fix the wrong declaring of 'sruct ras_events' in ras-record.h rasdaemon: fix an warning reported by PC-Lint rasdaemon: decode submodule of OEM type1 for hip08 rasdaemon: fix sub module name of HHA and DDRC for hip08 rasdaemon: split OEM type1 table decode function to reduce length rasdaemon: split OEM type2 table decode function to reduce length rasdaemon: split PCIe local table decode function to reduce length rasdaemon: fix magic number issues reported by static code analysis for hip08 rasdaemon: replace sprintf with snprintf for hip08 non-standard-hisi_hip08.c | 686 +++++++++++++++++++++++++++++++--------------- ras-record.h | 2 +- 2 files changed, 462 insertions(+), 226 deletions(-) -- 2.8.1