Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp430553pxb; Sat, 10 Apr 2021 07:22:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyXrQPBkbd8jLaAtr58jLz18En4FpdjERpgPBt31WnDMjd03WxIzklkzrqMq+bZcHdrLBWX X-Received: by 2002:a05:6402:13ce:: with SMTP id a14mr22137749edx.365.1618064552485; Sat, 10 Apr 2021 07:22:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618064552; cv=none; d=google.com; s=arc-20160816; b=ud+5DXn2/lueNj1EMrDaNH1f4BI9fBx6ynPgE5gObxLiJXbz2SgLXSA57z0koUAhQ0 x2clUbMHozaK/RUlIi6T87rZX3ROejepZHWOIAlfsPiWAN+8lphwstN/YkWQb36AbEY4 wK8svjKf+v6wX1LxelvU1+j2uSzJFWP2SOLcq8EnYCY+CVCjyTxWpGeXys5J3RoOLfDv ptM/bvobGe8A9tbygpRbhFr+66U/+sYQlti99lVxvh+ml/mAFodGd1WbpJnHUuQktl1N Cm4dS3uMvA2pjfF1KFJT9QoYGW9P4ycLP18TVYpoPcHNJ67fJHHW3BGxUErzlaRzAuLU PvBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=/Lkqq2V46NZQ/iOiuGJd2meNdKo8+AHiDVO59b9jNUY=; b=nLzcO32yYcKzDnOfdPqeAA7NL2qVqqo68s14vjlKY+3lV6QugmiAdBTcGflpHPnATd JXvLQrlxWm35QdwDCB3EZqMR6Yha73kLfUFc3mGMQxI3lWBMs9C/Dd45FBEH+e7yAuOK RHCA0zSnmzLLCGBC+QHJDYgxvB5S6pCTHg2+6RNObo0mUH/7IEYn4W+Z9u02hoyLF8pA osWKmMNbbN6aIG825pIhWkqymw1tMh2uWQs9Tmx0GF08aKfLweJ/5UTzyf+oA5q8WOLs qFxwyBkRZ3ZIlQjs5cG1l5xeB3rIZmztAToc24skTogCENLOh3xVpFYxAtPc6Kj2W4Co P8dg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=QmImsZ0D; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id za7si1007762ejb.52.2021.04.10.07.22.09; Sat, 10 Apr 2021 07:22:32 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=QmImsZ0D; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234877AbhDJOVM (ORCPT + 99 others); Sat, 10 Apr 2021 10:21:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54656 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234829AbhDJOVF (ORCPT ); Sat, 10 Apr 2021 10:21:05 -0400 Received: from mail-ej1-x629.google.com (mail-ej1-x629.google.com [IPv6:2a00:1450:4864:20::629]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3FBC4C06138A for ; Sat, 10 Apr 2021 07:20:50 -0700 (PDT) Received: by mail-ej1-x629.google.com with SMTP id sd23so4381995ejb.12 for ; Sat, 10 Apr 2021 07:20:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=/Lkqq2V46NZQ/iOiuGJd2meNdKo8+AHiDVO59b9jNUY=; b=QmImsZ0Dpg40Z5YyyMPHvT21jqkIK/2JLMXawV0LcpKyGoE7u/jiQMpnVvAMsqmUgs ndExBtdxcI16L7AeKRJA3wg7k/zOwFN/W3LsT/DrO7eMiQ50mXrH0XxSH2At4uPRzp3J PXY6hoR+vLY6h+Ewp4FQ3x0mC08UD/s8HYIBsjExA+LjSS2lXgtxwAiNDxdsP6as6juU rF5pbkrHlFL1hFngEqvXlM4FHkP6s8bJbuOqpDTt3zt7uXbBHn73+9AVpkMfBslYBZAM Afj94scUwSAMuP5RAGK8yThFgPpmQMNINzfAml2sTxMeKlTrsKq+xC5Ul3ROYZZp+Qfp fnIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=/Lkqq2V46NZQ/iOiuGJd2meNdKo8+AHiDVO59b9jNUY=; b=MYeAGA9RExeMY2cJvgbKSAV00EQuyOkpZoQhtrAFRvJpMDiqgKuG/liaWYPZlJ3D0q HZTDtJ55GITb0fEurYSKTRg0u4K1xcCGdWy9Hj4zsZm+f4gCQeB+l+n6LZgpmuSA7IQo RxC+E1yAeA7swRwnhUSNWWJjv3K1D8R6Ic/MovwqWN0s8XdL8oG7O6dTFzMoSpynq1Ad RUbW/95U5LhNjXsDLNy0L6oYsZaPLHux86PthoU1Jylz/ghpo6I/t+OcV3FE7ZwbU53g Ppiddrx9iTfmvMWN5RqtQx9MJt9iy7wpPj2KWpMTl1ZgvZjMherX9+zK4/Gxym05UEFF zOFw== X-Gm-Message-State: AOAM530IqPlMl49KMgEr98040YNwwHvFAPRq7gui08ErYhmP0T2yrE3u D81/iR2xDIVo22FO8V4ugaNx3qkGisUfBQ== X-Received: by 2002:a17:906:d9ca:: with SMTP id qk10mr19504519ejb.436.1618064448856; Sat, 10 Apr 2021 07:20:48 -0700 (PDT) Received: from agape ([5.171.81.28]) by smtp.gmail.com with ESMTPSA id dj8sm3170248edb.86.2021.04.10.07.20.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 10 Apr 2021 07:20:48 -0700 (PDT) From: Fabio Aiuto To: gregkh@linuxfoundation.org Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH 05/25] staging: rtl8723bs: put spaces around operators Date: Sat, 10 Apr 2021 16:20:18 +0200 Message-Id: <35c6c5efa2661c6fd9d40c3a681eb8470c5015e6.1618064274.git.fabioaiuto83@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org fix following post-commit hook checkpatch issue: CHECK: spaces preferred around that '+' (ctx:VxV) 89: FILE: drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c:2431: + rtw_get_wps_ie(pbuf+_FIXED_IE_LENGTH_, ; ^ len-_FIXED_IE_LENGTH_, NULL, &wps_ielen) CHECK: spaces preferred around that '-' (ctx:VxV) 89: FILE: drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c:2431: + rtw_get_wps_ie(pbuf+_FIXED_IE_LENGTH_, len-_FIXED_IE_LENGTH_, ^ NULL, &wps_ielen); Signed-off-by: Fabio Aiuto --- drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c b/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c index 6d5109aa4b69..80d9805eaa38 100644 --- a/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c +++ b/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c @@ -2428,7 +2428,7 @@ static int rtw_add_beacon(struct adapter *adapter, const u8 *head, size_t head_l len = head_len+tail_len-24; /* check wps ie if inclued */ - rtw_get_wps_ie(pbuf+_FIXED_IE_LENGTH_, len-_FIXED_IE_LENGTH_, NULL, &wps_ielen); + rtw_get_wps_ie(pbuf + _FIXED_IE_LENGTH_, len - _FIXED_IE_LENGTH_, NULL, &wps_ielen); /* pbss_network->IEs will not include p2p_ie, wfd ie */ rtw_ies_remove_ie(pbuf, &len, _BEACON_IE_OFFSET_, WLAN_EID_VENDOR_SPECIFIC, P2P_OUI, 4); -- 2.20.1