Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp220113pxj; Wed, 16 Jun 2021 00:27:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxp59alIZo0vvX8Vo+GAR5SbuDzy0tO5dSa23FWcuHyiZECey57yJz+28D3pluX+TV+NGlo X-Received: by 2002:a92:da4f:: with SMTP id p15mr2691454ilq.200.1623828466625; Wed, 16 Jun 2021 00:27:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623828466; cv=none; d=google.com; s=arc-20160816; b=k/WFAU6q/C5jH0nvXwv1TZJSR46ssXfx3KLteJeV2mB0SAMinBktuVnQiXBGsfRKPi 97m8FtpVh79//zgfpJeySdbAFuyziKIa7yM4+dxj7Ujrnz515wFHp9q8i/7RXIOQAFv3 XR3lJP/+VnlFDwfTYoL55jqVvebh7xblfMrAFRYFQHKAEzOTgBTW1N1hyhQ/rmlEbKdK kXWXutaJyI5yzPMnK20/MdOXLj0GXdxM8HJh2swB3ivGRQtm6SwvPW8u4sKgEOYPVAru 1jlMGhUXIGdBwHFiV8EjlLlO6YHRGKA8FZQQP1LQLchLHGG0wvNgUZmKx5oVdZmv5ExX RGsw== 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=Evivlgp2cq7z4NDv6voglSiRR8VGRjeGDl5W/9B6WyY=; b=ReMtCltvYRrxaHH1JTo0DfnN43UsL4xcx0dKy5xfSEudhIle0Ier7sOUBrPN6jQOnx eDk6nHdSwYi1VVtIBait6oafHmhz9yhDu9YKPwzrm3SPD1C2Y2erCWe1Qk7ay11QxNxw InQ4o2ydvKYHtb7LHoXwqTHpF18WQxsreZXYbGsoDXGa9fYi5xLMBvPv5PdEQDI9qXUW TY7Ormf8ZlgPK6mkk7jW2AjI2cgZFpmL1Ef7YGLYm8CM03kbSsPps02IYbtkkDDsXO/r zJKAbQQPlm6ObDrXvlHB4R/v2EG+YIa/h4Xiow7+DyVhvteG7cBCSj8t+DebwZ95wE5S bknQ== 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 c17si1401595iob.43.2021.06.16.00.27.33; Wed, 16 Jun 2021 00:27:46 -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 S231604AbhFPH3B (ORCPT + 99 others); Wed, 16 Jun 2021 03:29:01 -0400 Received: from szxga01-in.huawei.com ([45.249.212.187]:10090 "EHLO szxga01-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231132AbhFPH3A (ORCPT ); Wed, 16 Jun 2021 03:29:00 -0400 Received: from dggemv711-chm.china.huawei.com (unknown [172.30.72.56]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4G4cB55k0XzZf6d; Wed, 16 Jun 2021 15:23:57 +0800 (CST) Received: from dggemi759-chm.china.huawei.com (10.1.198.145) by dggemv711-chm.china.huawei.com (10.1.198.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.2176.2; Wed, 16 Jun 2021 15:26:53 +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; Wed, 16 Jun 2021 15:26:52 +0800 From: Guangbin Huang To: , , , , CC: , , , Subject: [PATCH net-next 00/15] net: cosa: clean up some code style issues Date: Wed, 16 Jun 2021 15:23:26 +0800 Message-ID: <1623828221-48349-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: dggems703-chm.china.huawei.com (10.3.19.180) 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. Peng Li (15): net: cosa: remove redundant blank lines net: cosa: add blank line after declarations net: cosa: fix the code style issue about "foo* bar" net: cosa: replace comparison to NULL with "!chan->rx_skb" net: cosa: move out assignment in if condition net: cosa: fix the comments style issue net: cosa: add braces {} to all arms of the statement net: cosa: remove redundant braces {} net: cosa: add necessary () to macro argument net: cosa: use BIT macro net: cosa: fix the alignment issue net: cosa: fix the code style issue about trailing statements net: cosa: add some required spaces net: cosa: remove trailing whitespaces net: cosa: remove redundant spaces drivers/net/wan/cosa.c | 493 ++++++++++++++++++++++++++----------------------- 1 file changed, 260 insertions(+), 233 deletions(-) -- 2.8.1