Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp7902186rwd; Tue, 20 Jun 2023 07:41:59 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4eWikPM61s1ZFeY8SedVq/szGBRxXqd7Zj0gNWzeAK5WvvihNImSFDHhVJNrdIkNoEhiXj X-Received: by 2002:a17:903:48e:b0:1b5:32f2:5af with SMTP id jj14-20020a170903048e00b001b532f205afmr10945394plb.59.1687272118859; Tue, 20 Jun 2023 07:41:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687272118; cv=none; d=google.com; s=arc-20160816; b=QDZW0x84h+oKaKx+xWyScDWjQPIHKnVTznoxi3EQjo+cQDxgPgjDLvh6BgITEBAQTb nssKXBBgelL2fGc0OQiXWDNT9iWpkQOnUg8f1oNfeDnx3R3QK3WdGeCGM/QBb3qoBL1/ CJGy4uFiwCu77TfJddkPn3H8sTMhBVTjqa1vKSWccmpbU6MPu+tjBjM1GjA+aU7A/pNh yRAnXkNAHXGu0aI5+xmEYwYKoY5DXpNmaXUFeGb+VwilANVYPkqeytS72/foaVeEs9jA 6ZSFvuhUDeLl4/2/N+E7lJ3W+ZVmf6rou4FTD39CJMEMmhXBthD7qoubgYee0oGPUaXR 8pfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Aj7XDeLPAqv8UDTMfgQuRAwnYY+eLUdQCO57hlaBBEo=; b=jIl9sIrxGoCFcAO1HzVRRmitXUHUtnMEnkkFpJj7gP+kdIzJKPTw9AU0NxKso2QFfJ fclppvBdKNDRTES8nsUq0cQFzm4tn0Y4A8AFv8590tkEfwbAvBaWuWZBD8tKFlZhn93Q NsnoQDVHlmYTIR+2c496YZmz8XHsoVtItyB6XLuSvjXRAn1YgG5iNSgMI2FASClfjFtH LlxCZMBojP9zZeqrcmttCqAzJhDRugcUEeSPl2N1RqdNWLzsQ7kDKkwP2wLKMxNfr729 2xHeSq2qrPpbjnMYTo0dDpxdUaIglr9O0lKUkc+9J4r+LSyOUbFfXOzErvWDlSslPO6h yYNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="tm9uC9/y"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id jk14-20020a170903330e00b001b4fc117bf0si1976802plb.116.2023.06.20.07.41.47; Tue, 20 Jun 2023 07:41:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="tm9uC9/y"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233191AbjFTOMo (ORCPT + 99 others); Tue, 20 Jun 2023 10:12:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33650 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233249AbjFTOMm (ORCPT ); Tue, 20 Jun 2023 10:12:42 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B67D41701 for ; Tue, 20 Jun 2023 07:12:37 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 4926F61283 for ; Tue, 20 Jun 2023 14:12:37 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 57E27C433CA; Tue, 20 Jun 2023 14:12:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1687270356; bh=Sdim3nHPJvGgZkt1kDiWy46jb7Kx94z4BqprQBITB/0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=tm9uC9/ywxMsbkMuEEs5Eea1Pjc8UAM1SOEbG+6CGAppg/9RZCc6iwY3X11gBXF97 Y4bYG/xIistPSUBFNmXP2YV7AjW2C/CGBkHIyxuYts5j7AfCuVWH6RdWJ0ZlCAEJ8w k5V4FZUf2nL3qETOTyum+fynig2eT0saOFr5cUSg= Date: Tue, 20 Jun 2023 16:12:33 +0200 From: Greg KH To: Franziska Naepelt Cc: eperi1024@gmail.com, franziska.naepelt@gmail.com, hdegoede@redhat.com, johannes.berg@intel.com, linux-kernel@vger.kernel.org, linux-staging@lists.linux.dev, quic_vjakkam@quicinc.com, tegongkang@gmail.com Subject: Re: [PATCH 2/5] staging: rtl8723bs: Fix space issues Message-ID: <2023062012-regain-vintage-2c6d@gregkh> References: <20230619175703.18826-1-franziska.naepelt@gmail.com> <20230619180753.18998-1-franziska.naepelt@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230619180753.18998-1-franziska.naepelt@gmail.com> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jun 19, 2023 at 08:07:53PM +0200, Franziska Naepelt wrote: > Fix the following checkpatch space issues: > - CHECK: spaces preferred around that '*' (ctx:VxV) > - CHECK: spaces preferred around that '+' (ctx:VxV) > - CHECK: spaces preferred around that '-' (ctx:VxV) > - CHECK: spaces preferred around that '|' (ctx:VxV) > - CHECK: No space is necessary after a cast > - WARNING: please, no spaces at the start of a line > > Signed-off-by: Franziska Naepelt > --- > .../staging/rtl8723bs/os_dep/ioctl_cfg80211.c | 77 +++++++++---------- > 1 file changed, 38 insertions(+), 39 deletions(-) > > diff --git a/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c b/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c > index 1afd1a93bcee..abda4e0f0bf5 100644 > --- a/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c > +++ b/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c > @@ -95,14 +95,14 @@ static struct ieee80211_channel rtw_2ghz_channels[] = { > static void rtw_2g_channels_init(struct ieee80211_channel *channels) > { > memcpy((void *)channels, (void *)rtw_2ghz_channels, > - sizeof(struct ieee80211_channel)*RTW_2G_CHANNELS_NUM > + sizeof(struct ieee80211_channel) * RTW_2G_CHANNELS_NUM > ); > } > > static void rtw_2g_rates_init(struct ieee80211_rate *rates) > { > memcpy(rates, rtw_g_rates, > - sizeof(struct ieee80211_rate)*RTW_G_RATES_NUM > + sizeof(struct ieee80211_rate) * RTW_G_RATES_NUM > ); > } > > @@ -126,8 +126,8 @@ static struct ieee80211_supported_band *rtw_spt_band_alloc( > if (!spt_band) > goto exit; > > - spt_band->channels = (struct ieee80211_channel *)(((u8 *)spt_band)+sizeof(struct ieee80211_supported_band)); > - spt_band->bitrates = (struct ieee80211_rate *)(((u8 *)spt_band->channels)+sizeof(struct ieee80211_channel)*n_channels); > + spt_band->channels = (struct ieee80211_channel *)(((u8 *)spt_band) + sizeof(struct ieee80211_supported_band)); > + spt_band->bitrates = (struct ieee80211_rate *)(((u8 *)spt_band->channels) + sizeof(struct ieee80211_channel) * n_channels); > spt_band->band = band; > spt_band->n_channels = n_channels; > spt_band->n_bitrates = n_bitrates; > @@ -247,10 +247,10 @@ struct cfg80211_bss *rtw_cfg80211_inform_bss(struct adapter *padapter, struct wl > u32 wpsielen = 0; > u8 *wpsie = NULL; > > - wpsie = rtw_get_wps_ie(pnetwork->network.ies+_FIXED_IE_LENGTH_, pnetwork->network.ie_length-_FIXED_IE_LENGTH_, NULL, &wpsielen); > + wpsie = rtw_get_wps_ie(pnetwork->network.ies + _FIXED_IE_LENGTH_, pnetwork->network.ie_length - _FIXED_IE_LENGTH_, NULL, &wpsielen); > > if (wpsie && wpsielen > 0) > - psr = rtw_get_wps_attr_content(wpsie, wpsielen, WPS_ATTR_SELECTED_REGISTRAR, (u8 *)(&sr), NULL); > + psr = rtw_get_wps_attr_content(wpsie, wpsielen, WPS_ATTR_SELECTED_REGISTRAR, (u8 *)(&sr), NULL); > > if (sr != 0) { > /* it means under processing WPS */ > @@ -266,7 +266,6 @@ struct cfg80211_bss *rtw_cfg80211_inform_bss(struct adapter *padapter, struct wl > } > /* spin_unlock_bh(&pwdev_priv->scan_req_lock); */ > > - This was an extra blank line issue that you did not mention in the changelog :( Please be more careful. thanks, greg k-h