Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1299089rwl; Fri, 24 Mar 2023 08:44:27 -0700 (PDT) X-Google-Smtp-Source: AKy350ZFQZcDrrR3JfoDYSjYLIkdrCsznky0h/XNKDhip+lVTpuQEkvatuB+i/8gfgq75jTAXgJM X-Received: by 2002:a17:907:7646:b0:92f:d1ec:a7d7 with SMTP id kj6-20020a170907764600b0092fd1eca7d7mr2832930ejc.15.1679672667166; Fri, 24 Mar 2023 08:44:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679672667; cv=none; d=google.com; s=arc-20160816; b=y7SKtEpOZe/s+aJ34a5OAnTKRBLdEGBSjMhjU8CEst2mMAWtddSh/4C7BlYTD7T4+U i8RLdSE8qEulBh6nYaYke0QosR9YI0hXA47FRD4S+CwqvCQVSzooaTElEQqu/hC8GhD9 QOXNkYF/YXQLAaWccXFUEPijWXyI6OdJ/5jZCeOVbW85WXe/tfvwXjQyzNGhk1ncNnXa r+Rw7TjsBvwCWLK47A6OnFFiK3XeMC4xdLBrZWNkpqzWeMUTE8KDBhwGIBUwX21jh1mL h2nuDyOKFA/Zi5g74LIZaxyEJP6ttJQlIiFnFvcdGiNkkJpcC8SlxbkLUqV7eBMa/GGl VYNQ== 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=bYjYkwfljHPvovK+kB0z2LOIRGjjtXmBxuj9AfaJWX4=; b=vdVB31gt0ZPt6A4dg6GETfHmVH+763IWrCq8GFgb4EoBfJaZAC7w9SMnKNYH4IdYvd hnsVokwoQQphJznRRJBrAdPHJu2KauDYZ4972BxmZyHH18JlzqFxYtt0Z5bI1sPiWn/j D+354bEh/JbGI3oS94YKbeefcCLgsAZrB8/Gr6Dk4N8Iur1JvjRNrSrsjEVf/FqX7r7c BqkRNdXrRcE/Zy9XUHvelkhnvl+hweDgrO6HqQ/d7tP4CKl3fU5YyPbJV5Hq/Z0LD1kM BSgWov6gqPm+ikq0ooN4ysOIBP2wrzMo9H1AJHlS3A0ui+94cpdD7QtoQ8/670lYgb/f +IVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=FgT7iIg6; 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=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dm5-20020a170907948500b0093e4b4e40c5si2017600ejc.996.2023.03.24.08.44.02; Fri, 24 Mar 2023 08:44:27 -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=@intel.com header.s=Intel header.b=FgT7iIg6; 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232512AbjCXPmF (ORCPT + 99 others); Fri, 24 Mar 2023 11:42:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51144 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232524AbjCXPl5 (ORCPT ); Fri, 24 Mar 2023 11:41:57 -0400 Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B968A2201F for ; Fri, 24 Mar 2023 08:41:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1679672493; x=1711208493; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=OstU8LE34yvquXnPkkLldI/Jk6/9+ifZ6noCd0IJf8g=; b=FgT7iIg6rTBSZp1IMacZyLoILec1s3nfmgk2MSM0O/jrps6AnT3tijO8 RVrosbQ5F8TDsVEQQf0CprunjkHyvLTMjjv28fzroWTxHn5K0PCYLkVKo gMLNZGdWEyTo26YghQSvACBEeIYT0tBw5ehZ2bet8YCvfCYG9nr7ukR5S vw8Do328H1VnpM68JQGDH/WQkLR4s53hqBGvm7PcxFejuSFeMl+FQe4tH oJg+XSeVqhfsDO4naoLue3gKUWeEvXkXS6uMsB5+gQawParUqAcg+PsyY VmFEzLzQ4Kolg4nJAEHLdQ3BwJ5VKRmLR0S901r+hhSmt8MZyIUUymO6L w==; X-IronPort-AV: E=McAfee;i="6600,9927,10659"; a="339831769" X-IronPort-AV: E=Sophos;i="5.98,288,1673942400"; d="scan'208";a="339831769" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Mar 2023 08:41:13 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10659"; a="1012290296" X-IronPort-AV: E=Sophos;i="5.98,288,1673942400"; d="scan'208";a="1012290296" Received: from aschofie-mobl2.amr.corp.intel.com (HELO aschofie-mobl2) ([10.209.62.66]) by fmsmga005-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Mar 2023 08:41:13 -0700 Date: Fri, 24 Mar 2023 08:41:11 -0700 From: Alison Schofield To: Khadija Kamran Cc: outreachy@lists.linux.dev, gregkh@linuxfoundation.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 1/4] staging: rtl8192e: remove extra blank lines Message-ID: References: <43d5864fc42e51089a0a0626278204bac8313eb0.1679598576.git.kamrankhadijadj@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <43d5864fc42e51089a0a0626278204bac8313eb0.1679598576.git.kamrankhadijadj@gmail.com> X-Spam-Status: No, score=-2.5 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE autolearn=unavailable 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 Fri, Mar 24, 2023 at 12:19:59AM +0500, Khadija Kamran wrote: > Remove extra blank lines as reported by checkpatch.pl > > "CHECK: Please don't use multiple blank lines" Commit log needs to say why you did it, why this patch need to be merged. Checkpatch itself doesn't satisfy the why requirement. When we do these white space cleanups, the why is typically "to adhere to the Linux kernel coding-style." If you are doing a particular checkpatch cleanup and are not sure what to write, check your predecessors. $ git log --oneline | grep "multiple blank lines" That'll give you many instances. Reference a few, some poor ones sneak through. Alison > > Signed-off-by: Khadija Kamran > --- > drivers/staging/rtl8192e/rtllib_rx.c | 13 ------------- > 1 file changed, 13 deletions(-) > > diff --git a/drivers/staging/rtl8192e/rtllib_rx.c b/drivers/staging/rtl8192e/rtllib_rx.c > index c394c21beefb..c6114d99829b 100644 > --- a/drivers/staging/rtl8192e/rtllib_rx.c > +++ b/drivers/staging/rtl8192e/rtllib_rx.c > @@ -154,7 +154,6 @@ rtllib_frag_cache_get(struct rtllib_device *ieee, > return skb; > } > > - > /* Called only as a tasklet (software IRQ) */ > static int rtllib_frag_cache_invalidate(struct rtllib_device *ieee, > struct rtllib_hdr_4addr *hdr) > @@ -318,7 +317,6 @@ rtllib_rx_frame_decrypt(struct rtllib_device *ieee, struct sk_buff *skb, > return res; > } > > - > /* Called only as a tasklet (software IRQ), by rtllib_rx */ > static inline int > rtllib_rx_frame_decrypt_msdu(struct rtllib_device *ieee, struct sk_buff *skb, > @@ -355,7 +353,6 @@ rtllib_rx_frame_decrypt_msdu(struct rtllib_device *ieee, struct sk_buff *skb, > return 0; > } > > - > /* this function is stolen from ipw2200 driver*/ > #define IEEE_PACKET_RETRY_TIME (5*HZ) > static int is_duplicate_packet(struct rtllib_device *ieee, > @@ -887,7 +884,6 @@ static u8 parse_subframe(struct rtllib_device *ieee, struct sk_buff *skb, > return rxb->nr_subframes; > } > > - > static size_t rtllib_rx_get_hdrlen(struct rtllib_device *ieee, > struct sk_buff *skb, > struct rtllib_rx_stats *rx_stats) > @@ -1569,7 +1565,6 @@ static int rtllib_verify_qos_info(struct rtllib_qos_information_element > return 0; > } > > - > /* Parse a QoS parameter element */ > static int rtllib_read_qos_param_element( > struct rtllib_qos_parameter_info *element_param, > @@ -1599,7 +1594,6 @@ static int rtllib_read_qos_info_element( > return rtllib_verify_qos_info(element_info, QOS_OUI_INFO_SUB_TYPE); > } > > - > /* Write QoS parameters from the ac parameters. */ > static int rtllib_qos_convert_ac_to_parameters(struct rtllib_qos_parameter_info *param_elm, > struct rtllib_qos_data *qos_data) > @@ -1843,7 +1837,6 @@ static void rtllib_parse_mife_generic(struct rtllib_device *ieee, > } > } > > - > if (*tmp_htinfo_len == 0) { > if (info_element->len >= 4 && > info_element->data[0] == 0x00 && > @@ -1932,7 +1925,6 @@ static void rtllib_parse_mife_generic(struct rtllib_device *ieee, > info_element->data[2] == 0x96) > network->cisco_cap_exist = true; > > - > if (info_element->len >= 3 && > info_element->data[0] == 0x00 && > info_element->data[1] == 0x0a && > @@ -2142,13 +2134,11 @@ int rtllib_parse_info_param(struct rtllib_device *ieee, > > network->dtim_data = RTLLIB_DTIM_VALID; > > - > if (info_element->data[2] & 1) > network->dtim_data |= RTLLIB_DTIM_MBCAST; > > offset = (info_element->data[2] >> 1)*2; > > - > if (ieee->assoc_id < 8*offset || > ieee->assoc_id > 8*(offset + info_element->len - 3)) > break; > @@ -2203,7 +2193,6 @@ int rtllib_parse_info_param(struct rtllib_device *ieee, > &tmp_htcap_len); > break; > > - > case MFIE_TYPE_HT_INFO: > netdev_dbg(ieee->dev, "MFIE_TYPE_HT_INFO: %d bytes\n", > info_element->len); > @@ -2392,7 +2381,6 @@ static inline int is_same_network(struct rtllib_network *src, > (dst->capability & WLAN_CAPABILITY_ESS))); > } > > - > static inline void update_network(struct rtllib_device *ieee, > struct rtllib_network *dst, > struct rtllib_network *src) > @@ -2580,7 +2568,6 @@ static inline void rtllib_process_probe_response( > goto free_network; > } > > - > if (!rtllib_legal_channel(ieee, network->channel)) > goto free_network; > > -- > 2.34.1 > >