Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp5433987pxj; Wed, 26 May 2021 10:22:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxP3E292EEp/Hw43z75jr7nqGDlDXTf9uN7/eKCUrgKynsodSvTCbqRguAiCydDFmNAXmU8 X-Received: by 2002:a05:6602:1494:: with SMTP id a20mr26477175iow.100.1622049766800; Wed, 26 May 2021 10:22:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622049766; cv=none; d=google.com; s=arc-20160816; b=lvpOc5B/GjcP+/65f6qCY2OM7g8bNfB0NjNZ75ZHTYQGuGjDi5qpisQa6wJoy8RNAG +1uz84b+hmK20X3XH30nV6lBLOiEgwziSzWb76X3VVjrtVOE7tNHvTwQ1m62sKA4j95w bBuULsmjlMME8oHtMNMdwvKhHIDhT3O0mYf+At9ONANJpV8hjM1VJR1T69C8TcYyc7HF o0+W7eq6aR/6yCKvqK0wISnOCUAtw+/qfPdzNAzuATHLKq7L3al4umMgHPRtY5AShakL Dt0cUzIeIxqAS6pal1do3DZBZsWmAJ3Hus0AFDDRyPYAqIEHuwwNti8RaObX9uEru4JD GxkQ== 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=XL9V+orUxaLN6PB2C61hHx8UZu9AujIcFg3/CMZwywg=; b=h4IFuL/xdOhxse6xK8MmGSQgtX30mZp/B8qpn4fh/qvaT47b7aNle7uHfmOdvEg6Xq 25dkV5ZBHdOE00N8vgJ6pAkImCqLfgoaT6H2IxOidiv3CNls/bVN9Yub3uiRIwCDWPty Zyi80ihiNEtgD/ib+9MZheMEdIif91dZlj2NsZYSosRlFEFS2Q3Dn7FH/AXfyxnkcrVL SlJd3/mJXf4D7XZp/lSSyZx5qmCgy51q0ZQrK/QcA4JuSnrFX1qGK4r51wI60oyzXe6B cnJ5r/F2Y/iQsqbfYaAM06CmJyPUdYyhS3n1rvx77AFQkCKTNrP/V5qL+GLKOFfRAbdf u/0w== 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 o10si21346692ilc.147.2021.05.26.10.22.22; Wed, 26 May 2021 10:22: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 S233044AbhEZLuY (ORCPT + 99 others); Wed, 26 May 2021 07:50:24 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:6714 "EHLO szxga04-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231556AbhEZLta (ORCPT ); Wed, 26 May 2021 07:49:30 -0400 Received: from dggems702-chm.china.huawei.com (unknown [172.30.72.59]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4FqpyD07b1zncZ9; Wed, 26 May 2021 19:44:20 +0800 (CST) Received: from dggemi759-chm.china.huawei.com (10.1.198.145) by dggems702-chm.china.huawei.com (10.3.19.179) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.2176.2; Wed, 26 May 2021 19:47:57 +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, 26 May 2021 19:47:56 +0800 From: Guangbin Huang To: , , , , CC: , , , , Subject: [PATCH net-next 07/10] net: wan: remove space after '!' Date: Wed, 26 May 2021 19:44:52 +0800 Message-ID: <1622029495-30357-8-git-send-email-huangguangbin2@huawei.com> X-Mailer: git-send-email 2.8.1 In-Reply-To: <1622029495-30357-1-git-send-email-huangguangbin2@huawei.com> References: <1622029495-30357-1-git-send-email-huangguangbin2@huawei.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.67.165.24] X-ClientProxiedBy: dggems701-chm.china.huawei.com (10.3.19.178) 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 According to the chackpatch.pl, space prohibited after that '!'. Signed-off-by: Peng Li Signed-off-by: Guangbin Huang --- drivers/net/wan/hdlc_fr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/wan/hdlc_fr.c b/drivers/net/wan/hdlc_fr.c index fa10eea88fbc..77b4f65cc4e0 100644 --- a/drivers/net/wan/hdlc_fr.c +++ b/drivers/net/wan/hdlc_fr.c @@ -789,8 +789,8 @@ static int fr_lmi_recv(struct net_device *dev, struct sk_buff *skb) } i++; - new = !! (skb->data[i + 2] & 0x08); - active = !! (skb->data[i + 2] & 0x02); + new = !!(skb->data[i + 2] & 0x08); + active = !!(skb->data[i + 2] & 0x02); if (lmi == LMI_CISCO) { dlci = (skb->data[i] << 8) | skb->data[i + 1]; bw = (skb->data[i + 3] << 16) | -- 2.8.1