Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1847014pxf; Sat, 3 Apr 2021 02:19:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxU4pqieygfsJhLSsDh4X7oKqx92zkevVbUN/9ScuaKqsRRVguQoBiDcD/HkGg+x2J4i55Y X-Received: by 2002:aa7:de8b:: with SMTP id j11mr20183584edv.363.1617441541791; Sat, 03 Apr 2021 02:19:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617441541; cv=none; d=google.com; s=arc-20160816; b=p2dTd7C8jfi76qh26Yije/5QyYeB0EcNy8dc3+0yKq8o2Dmx0Rix+hJJkRQ7y0Jg+9 JLnPX92eVT2Ywg8L7Vh2Mzu9hvGj4XDG2hlqX1/7OXWRzTHV9bud9qpKU5oLLvfWkhJp c+jEv0bZyzDPxe28aVI8H+nLcx+bGWlTwXxnImTG++NBjsn38ycamecQw3tkQqiWKnj8 Gb8BrYuFKpeTJnm1sxZPHjUtxv9AgG60jV9zS6sBKbk+6BtDv/VwaxgyGSSy7mUH4DFl F4LxxK6rWfFYuLM5q0RkCMraN+zAQJvhXVsBnmsNfrMjA2OpvstMnK7hLHhk5Fy2hIO5 4fUQ== 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=H7gV2Io75BmHpwhQaw6NovithxcDv0ix+Sn60I7HwJo=; b=Pa68mpNKqVxxGIk/WZP4g0cZ9xTEjghmO2qGDXmlUVNP+kXNp2NV1pmdKh/u03i+/m xJB/uFFsCpB3SpOemfnp7OW3TVQTbCaPg/2nYJhH2P9uzxzmw/0qzEDV5ZTSlI2xFU2t pHZuXBaA0YYq3cGq+EZlnw1JOqgoJVyjnNCjCMhtn5QiLYyvw8eDqx6VVUslSBpj2XZ3 fQubxSxjpxgDvVTePltkhnAYzdyBQ5B4NGtR44jaEN8P+BwlZlWShczgJLhqKkrMBHcQ k04Y3cZJthjC4ERSm/auWDKGQVB/0EEoYGoz+LTXutcQXVcCIjirK4/Vdsa20vATcjmn vWQQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=asIeDQEa; 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 qw16si8793153ejb.673.2021.04.03.02.18.33; Sat, 03 Apr 2021 02:19:01 -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=asIeDQEa; 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 S236875AbhDCJQB (ORCPT + 99 others); Sat, 3 Apr 2021 05:16:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33706 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236602AbhDCJPF (ORCPT ); Sat, 3 Apr 2021 05:15:05 -0400 Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 912A5C061793 for ; Sat, 3 Apr 2021 02:15:02 -0700 (PDT) Received: by mail-wr1-x435.google.com with SMTP id a6so529292wrw.8 for ; Sat, 03 Apr 2021 02:15:02 -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=H7gV2Io75BmHpwhQaw6NovithxcDv0ix+Sn60I7HwJo=; b=asIeDQEamcOTEZcUcmXrveR7Pg1uGOXeAPUsohxX1pNb4E3hk8BucbNyQY41n5RUwd gwSwRXwD5/JwKZJgmePs0F01P5D17Cpd6cE88l/4kF/UGZXhQnoM1Y1NFARFRbM8o3IV 9r6y1T3Xw/1IPTey8dA8SGIiuWzgkMXrD0vsAhEzbA3t12MDXwHOtVSRpXQONHEYxCxm xNDxt5+NkS1lhZVM/DLEDOwhCGWk8rRHgVKnuRbgAqlOOvMgFByp4CXsPmuVw2tVXqae 9e51udcInG361JliXefb8fpGHsz75zrgw7c2XaHOTH6Pie/QNrtVIUlpORDA9AhrhpW1 auog== 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=H7gV2Io75BmHpwhQaw6NovithxcDv0ix+Sn60I7HwJo=; b=KSJdH6azGPAp8qNRI0DtZPwSpxHgXd5UyiroSoiA5MHxbU7/7lVrTgWJAklj8D1VgN ar+Up2h2lB+EZDtY8f+gQec0U/G7lkpeDKiGyR4PugW+fKzvCQ87AoKPYbvVxAjfqqZH MM5jfH0quml9IgvabdFCvRJanTdWItPn65c5SrjCbUjRn5PvaxP3qWLimiqlVApWBFQE D3pzQk1V/fVZSbGDRzS+5vy9nbiMpG1G0I62v+9Qh0ZBEDLL3XjTqneucANpB3lBXHCr 11VdeXDbp67lnbRmys9BjKfLflC8sNmQrDPipDMJJ/xcqF57yfxNO5Zj/8ctpkUtA6/d 4Pgg== X-Gm-Message-State: AOAM531MwAMfEKkmzcd0ommY9qNPPJ0lPFz6XF901KG6mTJJlBmpOxyY R7kKDyWeDmeHWFAz4+6Ns6c= X-Received: by 2002:adf:bc01:: with SMTP id s1mr19612218wrg.240.1617441301333; Sat, 03 Apr 2021 02:15:01 -0700 (PDT) Received: from agape ([5.171.72.64]) by smtp.gmail.com with ESMTPSA id c9sm17419840wrr.78.2021.04.03.02.15.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Apr 2021 02:15:01 -0700 (PDT) From: Fabio Aiuto To: gregkh@linuxfoundation.org Cc: dan.carpenter@oracle.com, joe@perches.com, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Fabio Aiuto Subject: [PATCH v3 30/30] staging: rtl8723bs: add spaces around operators in core/rtw_ieee80211.c Date: Sat, 3 Apr 2021 11:13:52 +0200 Message-Id: <33914c8c2b09ea2bcf845912dfe0ef04f2464856.1617440834.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 post-commit hook checkpatch issues: CHECK: spaces preferred around that '+' (ctx:VxV) 161: FILE: drivers/staging/rtl8723bs/core/rtw_ieee80211.c:648: + *wpa_len = in_ie[cnt+1]+2; ^ CHECK: spaces preferred around that '+' (ctx:VxV) 161: FILE: drivers/staging/rtl8723bs/core/rtw_ieee80211.c:648: + *wpa_len = in_ie[cnt+1]+2; ^ CHECK: spaces preferred around that '+' (ctx:VxV) 162: FILE: drivers/staging/rtl8723bs/core/rtw_ieee80211.c:649: + cnt += in_ie[cnt+1]+2; /* get next */ ^ CHECK: spaces preferred around that '+' (ctx:VxV) 162: FILE: drivers/staging/rtl8723bs/core/rtw_ieee80211.c:649: + cnt += in_ie[cnt+1]+2; /* get next */ ^ Signed-off-by: Fabio Aiuto --- drivers/staging/rtl8723bs/core/rtw_ieee80211.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8723bs/core/rtw_ieee80211.c b/drivers/staging/rtl8723bs/core/rtw_ieee80211.c index eb2058f2d139..a0d664e254a8 100644 --- a/drivers/staging/rtl8723bs/core/rtw_ieee80211.c +++ b/drivers/staging/rtl8723bs/core/rtw_ieee80211.c @@ -645,8 +645,8 @@ void rtw_get_sec_ie(u8 *in_ie, uint in_len, u8 *rsn_ie, u16 *rsn_len, u8 *wpa_ie if (wpa_ie) memcpy(wpa_ie, &in_ie[cnt], in_ie[cnt+1]+2); - *wpa_len = in_ie[cnt+1]+2; - cnt += in_ie[cnt+1]+2; /* get next */ + *wpa_len = in_ie[cnt + 1] + 2; + cnt += in_ie[cnt + 1] + 2; /* get next */ } else { if (authmode == WLAN_EID_RSN) { if (rsn_ie) -- 2.20.1