Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp42041pxj; Thu, 27 May 2021 20:44:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwdOEBwfQUzrIbi9YNDxSZhtF9r8AkZg1AMm/MqVpMuPKcr4SysvNtWjVaxDwpqlFGINPB+ X-Received: by 2002:a6b:7947:: with SMTP id j7mr4232669iop.0.1622173452597; Thu, 27 May 2021 20:44:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622173452; cv=none; d=google.com; s=arc-20160816; b=R+eW9tyMVQtZQeUtbjIos/laoaEZfmDPGbLuNJdtQXjLbEd5n5+eC4O1ZpePhAMnTC NYt+HvjziLtQzEMcVaQMOTKMmgflPhUYcHD+xTsT4Su1KpNfZfeKfXZ3dfUjVs9JG+I0 iFwQ2T0/dwbJHUGfywMOewNmP+JW/8Ner7MELfiH3psqN4Kva6v/WZ+AEbWzOztMx4s/ 7A/4nSVa6/S8UAoTdYaQbxgt/D/eKVblJmfR99WYTnr6ZKQBr/17zJa5+607XGdZq2tU XqCaEFXtnFxS+YoIplZtHhGzUdhacfUUVxl3hqs/QlxTfufBzp1Ifyq7MKnMBliuXlBh DtvA== 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=maisBET0QbbKtNJqV8ZJvIAIgcU2LJIVLO6Id9Ook0g=; b=f3zaZTlP9PkGVE44dNX0Jctcto2XxSEoDasJ8UCwf22V3XlqMgSAMQxGEgfN9YhKdm VoW33rhGktIcCsY2s+5mmgzmQwEno/TIxcaFuwES+tl5j/dnVpDft4XzxNFC4SNxwtnz 3ZQ8FFVaPOuJhQkNdGDp49RzpE8/6/jX0btW29puDtMAp9Bo1FOdjIHz45of7CMa6aea YcQC3BqmQSBNlWrGOgcQa4QVMHNJCZZMVjnsl80wCxsG7/615ZIVx+cdE5MJ9kav8s+p QqrMjnNOhBgtbsCZsqSS+z2adLJZTBgouJhXo04CjPH4hVKI5kq5WKQ0qPEMPADFJWQu 2DiQ== 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 w31si4234079jal.77.2021.05.27.20.43.55; Thu, 27 May 2021 20:44: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 S235535AbhE1ARp (ORCPT + 99 others); Thu, 27 May 2021 20:17:45 -0400 Received: from szxga03-in.huawei.com ([45.249.212.189]:2379 "EHLO szxga03-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234527AbhE1AR3 (ORCPT ); Thu, 27 May 2021 20:17:29 -0400 Received: from dggeml751-chm.china.huawei.com (unknown [172.30.72.57]) by szxga03-in.huawei.com (SkyGuard) with ESMTP id 4FrlVl38Lmz65pX; Fri, 28 May 2021 08:12:15 +0800 (CST) Received: from dggemi759-chm.china.huawei.com (10.1.198.145) by dggeml751-chm.china.huawei.com (10.1.199.150) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Fri, 28 May 2021 08:15:54 +0800 Received: from localhost.localdomain (10.67.165.24) by dggemi759-chm.china.huawei.com (10.1.198.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Fri, 28 May 2021 08:15:53 +0800 From: Guangbin Huang To: , , , , CC: , , , , Subject: [PATCH V2 net-next 06/10] net: hdlc_fr: code indent use tabs where possible Date: Fri, 28 May 2021 08:12:45 +0800 Message-ID: <1622160769-6678-7-git-send-email-huangguangbin2@huawei.com> X-Mailer: git-send-email 2.8.1 In-Reply-To: <1622160769-6678-1-git-send-email-huangguangbin2@huawei.com> References: <1622160769-6678-1-git-send-email-huangguangbin2@huawei.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.67.165.24] X-ClientProxiedBy: dggems706-chm.china.huawei.com (10.3.19.183) To dggemi759-chm.china.huawei.com (10.1.198.145) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Peng Li Code indent should use tabs where possible. Signed-off-by: Peng Li Signed-off-by: Guangbin Huang --- drivers/net/wan/hdlc_fr.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/net/wan/hdlc_fr.c b/drivers/net/wan/hdlc_fr.c index a39e508..fa10eea 100644 --- a/drivers/net/wan/hdlc_fr.c +++ b/drivers/net/wan/hdlc_fr.c @@ -6,16 +6,16 @@ * Copyright (C) 1999 - 2006 Krzysztof Halasa * - Theory of PVC state + Theory of PVC state DCE mode: (exist,new) -> 0,0 when "PVC create" or if "link unreliable" - 0,x -> 1,1 if "link reliable" when sending FULL STATUS - 1,1 -> 1,0 if received FULL STATUS ACK + 0,x -> 1,1 if "link reliable" when sending FULL STATUS + 1,1 -> 1,0 if received FULL STATUS ACK (active) -> 0 when "ifconfig PVC down" or "link unreliable" or "PVC create" - -> 1 when "PVC up" and (exist,new) = 1,0 + -> 1 when "PVC up" and (exist,new) = 1,0 DTE mode: (exist,new,active) = FULL STATUS if "link reliable" -- 2.8.1