Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1010885pxj; Thu, 27 May 2021 17:50:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzGJiwcY8daDWI0VqI7rOgT3SOJRhTjw56ocgtTWERvYN9j3ioc7EDLN2fez6j4zTr8hBXH X-Received: by 2002:a02:cf32:: with SMTP id s18mr5868446jar.31.1622163021014; Thu, 27 May 2021 17:50:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622163021; cv=none; d=google.com; s=arc-20160816; b=Z/LI6XkbKHY3bbrZ2Vkc4yxC4rUdR4z6MQgjNMBpETntMQkp1xmceqktECT6CyO+ze X0MryL4CXgym4jJ15jbbjOkFM3cJQx1sATSbk+t4MSH+tuxI22L9HeqMw5+nl1c1TKXY mYdgToO3nO9C7ayuipQVonp5ylUe57km4Y+QexedKGbVjg3hDxBtHfg9fpBFsvmt6fNw UYHgWPRoGE6biHPbgDrMkP32fC+ep3DBJHcfzyBdeb65+tAt+MmEXuHRIHnex4XHVtYM x2HJlUeWfRxkYsOeXTMV4A7WxY8R3y2Hoh/CNNU+O6YIMT6yz25qawE6LeH6MFutcbBh sxxA== 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=7ybBRzXHmBHFbOY7ikFDvqUJJAx81bLDzzn1ezZfHCs=; b=Us5GP3Rib7+9+yssbdMnh3WBnAJGwiF8YKofmG03TDM0fqySiPvq4s2DBqBjwa+qmO W7wWwtC53opwXL8AVeVOV75idknkPiApJzczY1AfuZCoclzEWUNh3vv467XJBzT0L7nv qINmRe4BAQ7z539z0g0pGEmDHSXd/qBUb0prmjgNPaqgnKMmeVzMXg0sK5/AgpuRCmCb edLcwAZHQnZarkohErYxicG2pt2fL1cyAEn7rSNXaxAHphTiPJ7GdbD5VnCi7ngJ0zPo ylJpkn876SzYY8nKa4oiAX0NpGIX18mYS/YbwIw8Ro2BGJd6BkoPUa8v4a7TW8GzSsth quGQ== 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 m30si4197508jav.6.2021.05.27.17.50.08; Thu, 27 May 2021 17:50:21 -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 S234703AbhE1ARz (ORCPT + 99 others); Thu, 27 May 2021 20:17:55 -0400 Received: from szxga08-in.huawei.com ([45.249.212.255]:2323 "EHLO szxga08-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234570AbhE1AR3 (ORCPT ); Thu, 27 May 2021 20:17:29 -0400 Received: from dggeml756-chm.china.huawei.com (unknown [172.30.72.55]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4FrlTf624Bz1BFXt; Fri, 28 May 2021 08:11:18 +0800 (CST) Received: from dggemi759-chm.china.huawei.com (10.1.198.145) by dggeml756-chm.china.huawei.com (10.1.199.158) 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 07/10] net: hdlc_fr: remove space after '!' Date: Fri, 28 May 2021 08:12:46 +0800 Message-ID: <1622160769-6678-8-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 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 fa10eea..77b4f65 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