Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp630939ybz; Wed, 15 Apr 2020 15:31:17 -0700 (PDT) X-Google-Smtp-Source: APiQypLnTPYn7mX/ng306UJ+HBfXPUZB6GG8zX5/I/H0EKnA5SZIme3AEUgKPmEKWNr79atG5AWm X-Received: by 2002:a17:906:505:: with SMTP id j5mr7200797eja.13.1586989876969; Wed, 15 Apr 2020 15:31:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586989876; cv=none; d=google.com; s=arc-20160816; b=nd6t8qGGv2PXQTMQ4u0PhHrJpfEQ6vfOpPJjfUOZtKUs2cPP79A/fQCuChQ/LD6zm/ uK6PfdFj5dcdnpwSnXw+PjeJ6cI4BGjPF/0iRwMal5nUVJoeIl6Tqem4/JUKunWKsW2b OfFsTWOh8UgSTvV3HcP3uzNtPGfjcEj/IDzc2glzoG4vEaAtl6Gx8zmGo1WbuJPm9LuU VVybOJECOdLD3VCc67dXfr++kNEA39SWfGy3gfIlul/1h/2qnx8bBjQMVpojk9hOMHJf Y37TKR1gURj97L/K4RYwuoqY7AJDwP1zmSV0DmmUidwfRUg8Xp3IL3O48KNaVceGvPcZ iroQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=XNMTGf+ww6WDr3R2JtG4P8w+swtWsvpaOJn6v9AU1po=; b=X4Eg5Tka/EIpn98K0bDPE60PEqYUHx+wdTWG/W/RY56jviIYp8krKiDQV++0GsPCG/ 8NzgrF+mFB0QYZPTYiK2RdwKQuziLKp3inmgIOjtaY6NpIkN6k+HF9t8X9m5Ru0DxxKX es8dVAdYRb3sHRGATznVZAFEBtZ4mDZCSRcmIRghPp/qTWzdHPUqKOfPtuk0c7jpFALi 7OpEQ+WzgPV/z1/zcZuZm6qZ5pnNefx7FWr2fP47qnLmXXGBl1JP8qqHjGdL9PyfHWi5 w1fQ8HnBhUg+8XpdVE/+6u0cOe4rV+/kWXcWssu5zdzqSTCJ1W4fErK4/NPpfXwTFgh1 NHKA== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id op2si11802380ejb.395.2020.04.15.15.30.53; Wed, 15 Apr 2020 15:31:16 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2635723AbgDOIQP (ORCPT + 99 others); Wed, 15 Apr 2020 04:16:15 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:33004 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2635530AbgDOIQL (ORCPT ); Wed, 15 Apr 2020 04:16:11 -0400 Received: from DGGEMS405-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id 927995B08CF3362D2E9A; Wed, 15 Apr 2020 16:16:08 +0800 (CST) Received: from huawei.com (10.175.124.28) by DGGEMS405-HUB.china.huawei.com (10.3.19.205) with Microsoft SMTP Server id 14.3.487.0; Wed, 15 Apr 2020 16:15:59 +0800 From: Jason Yan To: , , , , , , , , , CC: Hulk Robot Subject: [PATCH] mISDN: make dmril and dmrim static Date: Wed, 15 Apr 2020 16:42:26 +0800 Message-ID: <20200415084226.23971-1-yanaijie@huawei.com> X-Mailer: git-send-email 2.21.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.175.124.28] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix the following sparse warning: drivers/isdn/hardware/mISDN/mISDNisar.c:746:12: warning: symbol 'dmril' was not declared. Should it be static? drivers/isdn/hardware/mISDN/mISDNisar.c:749:12: warning: symbol 'dmrim' was not declared. Should it be static? Reported-by: Hulk Robot Signed-off-by: Jason Yan --- drivers/isdn/hardware/mISDN/mISDNisar.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/isdn/hardware/mISDN/mISDNisar.c b/drivers/isdn/hardware/mISDN/mISDNisar.c index e325e87c0593..11e8c7d8b6e8 100644 --- a/drivers/isdn/hardware/mISDN/mISDNisar.c +++ b/drivers/isdn/hardware/mISDN/mISDNisar.c @@ -743,10 +743,10 @@ check_send(struct isar_hw *isar, u8 rdm) } } -const char *dmril[] = {"NO SPEED", "1200/75", "NODEF2", "75/1200", "NODEF4", +static const char *dmril[] = {"NO SPEED", "1200/75", "NODEF2", "75/1200", "NODEF4", "300", "600", "1200", "2400", "4800", "7200", "9600nt", "9600t", "12000", "14400", "WRONG"}; -const char *dmrim[] = {"NO MOD", "NO DEF", "V32/V32b", "V22", "V21", +static const char *dmrim[] = {"NO MOD", "NO DEF", "V32/V32b", "V22", "V21", "Bell103", "V23", "Bell202", "V17", "V29", "V27ter"}; static void -- 2.21.1