Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp39187pxj; Thu, 27 May 2021 20:38:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxho0IeT8UkXs477E9isQLgm20YcTIPK9qUIlbCf+M3GKB0BDkukGqWn6rimFcl/nk3LnBL X-Received: by 2002:a17:907:36c:: with SMTP id rs12mr7125286ejb.59.1622173082721; Thu, 27 May 2021 20:38:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622173082; cv=none; d=google.com; s=arc-20160816; b=F3Ua8Sp6/lVeVYk8UVZHLzk3Ncm7Pb0/Wfk5pCeVnVOBJHMNljA0ya2NLQm3mC1Mea nv6EQrXdppXoGluxNMt9Yl6Cc5QFpswVNm2qREDcLdNJCTNdNE+Vkas7W/FQrK/HiSGB PYwYr9tqE4gQ62I2jbEsDtyGY1U0uKiLIQ0yV+jfFXQxdIbDn05aETMvTB066y+AVwWe eZET1UTYXXdUDmKiWX9lkvhI2mHpXU+Z6UuXIjUNpAjq662SZgGKM+vADAIUnsxAX/9r NPtS3mwg3Kd7HCo1S1WV+xa1Co8UMs+w1zwmU639QOgAOpsQrwF8Rstc6ggav3nIeSoT 7p0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=rB3stgoz2pTKghgScojcQ8NhC/eR58uDN500Gkia20A=; b=sdTsXf/f2d9soADplu0VcahFcAZHC9yT/ZklRMRX45Na31rFRMoym1Juow47uDU3Vn aUp6OSnrSQxXcmvA4uyphwRb+FYiof/rihvobmgZ96Aob9x+HoHYrZKJGRe214jYlFXw wfFRb2N0k7Z7EEHtobLq1GnIX0HzJvd36B/dAZpLYFUbVYnjYlTx4hxIQwNnCRAO6Nxt ikUkuEAKX1iaEZaCSP1el54FXiHTESwMOe8Ijq1PlIxUk24yQSsSQ7Y5aUET97A3RBSz c0QdZLKey+YSEGfOcMGCXL8+Ve5/Iat8SklsY3fNLDJoagoSV0YJoANZO71x7vK2lZMJ L9bg== 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 d23si1179472ejz.732.2021.05.27.20.37.40; Thu, 27 May 2021 20:38:02 -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 S234752AbhE1ARa (ORCPT + 99 others); Thu, 27 May 2021 20:17:30 -0400 Received: from szxga08-in.huawei.com ([45.249.212.255]:2321 "EHLO szxga08-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229909AbhE1AR1 (ORCPT ); Thu, 27 May 2021 20:17:27 -0400 Received: from dggeml712-chm.china.huawei.com (unknown [172.30.72.57]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4FrlTb52DKz1BFNl; Fri, 28 May 2021 08:11:15 +0800 (CST) Received: from dggemi759-chm.china.huawei.com (10.1.198.145) by dggeml712-chm.china.huawei.com (10.3.17.123) 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:51 +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:50 +0800 From: Guangbin Huang To: , , , , CC: , , , , Subject: [PATCH V2 net-next 00/10] net: hdlc_fr: clean up some code style issues Date: Fri, 28 May 2021 08:12:39 +0800 Message-ID: <1622160769-6678-1-git-send-email-huangguangbin2@huawei.com> X-Mailer: git-send-email 2.8.1 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 This patchset clean up some code style issues. --- Change log: V1 -> V2: 1, Use appropriate commit prefix suggested by Jakub Kicinski, replace commit prefix "net: wan" by "net: hdlc_fr". --- Peng Li (10): net: hdlc_fr: remove redundant blank lines net: hdlc_fr: add blank line after declarations net: hdlc_fr: fix an code style issue about "foo* bar" net: hdlc_fr: add some required spaces net: hdlc_fr: move out assignment in if condition net: hdlc_fr: code indent use tabs where possible net: hdlc_fr: remove space after '!' net: hdlc_fr: add braces {} to all arms of the statement net: hdlc_fr: remove redundant braces {} net: hdlc_fr: remove unnecessary out of memory message drivers/net/wan/hdlc_fr.c | 101 ++++++++++++++++------------------------------ 1 file changed, 34 insertions(+), 67 deletions(-) -- 2.8.1