Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp3520026pxb; Mon, 4 Apr 2022 19:42:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxC3ShqVsEFnVDaLChkDTFcqJtkmZbyWLTgn/eI8WS4rQ5qLXUxJl9pV9hLzyZxmETusKiH X-Received: by 2002:a17:903:18e:b0:156:b0e1:63d7 with SMTP id z14-20020a170903018e00b00156b0e163d7mr1291248plg.126.1649126523848; Mon, 04 Apr 2022 19:42:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649126523; cv=none; d=google.com; s=arc-20160816; b=BqXoEdcy57T5yjWbl/ORO4WR110II3o+vUK1wXwPZh8R/9OA+GK5JPiJY9ua+Y0ZXf yzoQA73pCP8ORZqXRCUpomrBJjV/V/CqMpPZ5jxBOPZsRBuLXaXG69JwbkCydAGJFzeT Ka0mrXdsD2bWJ+sMfaCNuuU7EEVDDGLtbC0Eiyx9/YULlMpvcjo9p+GQpHPrdzz9iggF Q3Lyf2XuGsg1js7pFhCVADGgtkzSt4wg8O34nOX95B7ypw36Q5jLhCH80lOshhMx6dYq EwvsQhkWXbcaTnPFc4B+NUVZIdok8C0EolWP3um4MIuQ0nj+gbUrtezGJxRa1itnOuBQ oBnQ== 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=w5EPtJVHfJy4u3O9243cbmWYS5AFYW0WlefwHoCXLqM=; b=ikEjosnkwsfzL1OWA6Ivi9G6HtqWliCGrF+UWg3/ZZMTJxdRJ9w1w5GvABlQAKpFJg L/UGyWOMk5oAH7fB1mT/5+D8KIqlyQnz9L7a6yq5rt/S4BoJTQYsawUhEmNzgWjnGFpC sCWqXyEa8LC6CeMmuc9y+7VJ4ze3aOiYNt/Z4DO69sp1YiGUO6NuwnQU0y0J+T2X1MMc 9GkqirJkv8bUB2dkda8imN4DBFMJs/URDlfao6s2uTGbs7y1EHeUX6DxdJzog0UkTwSI /kgE0GmedVvF4M1niI7D5EN8R7UODM9H12DxjQwDOpil2/tuapKSVI1sI2gdUFxahngb A8+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=q1JCZmCa; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id 26-20020a63135a000000b003816043f0c5si11661227pgt.698.2022.04.04.19.42.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Apr 2022 19:42:03 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=q1JCZmCa; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 4791F18B30C; Mon, 4 Apr 2022 18:03:35 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1356585AbiDCLDu (ORCPT + 99 others); Sun, 3 Apr 2022 07:03:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44106 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234614AbiDCLDt (ORCPT ); Sun, 3 Apr 2022 07:03:49 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0ECC731538 for ; Sun, 3 Apr 2022 04:01:56 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id B7FEEB80C0A for ; Sun, 3 Apr 2022 11:01:54 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1201BC340F0; Sun, 3 Apr 2022 11:01:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1648983713; bh=pQ1TJmFzZ56vwkQEI9EHhrO2TSNei/w5QKdyfS8cZgc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=q1JCZmCaEHG53Heh87xLbrgw8bfN4DMqlmOkPMcnhNfpoMAuYp5dHFH5dGtrdYrVX Z7YFlYpdfI0iTCy7JX/Tu1tfI0Ofc4GnlHiFCPNMqtsBkjTJ4dbgMxZChICRf8RR5E L460X6iQ8v/CYsmGaiBlMsOy1MAHWIxAVvdxT2Rw= Date: Sun, 3 Apr 2022 13:01:50 +0200 From: Greg Kroah-Hartman To: Jaehee Park Cc: =?iso-8859-1?B?Suly9G1l?= Pouiller , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, outreachy@lists.linux.dev Subject: Re: [PATCH] staging: wfx: change variable name to be consistent Message-ID: References: <20220401145350.GA45053@jaehee-ThinkPad-X1-Extreme> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220401145350.GA45053@jaehee-ThinkPad-X1-Extreme> X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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, Apr 01, 2022 at 10:53:50AM -0400, Jaehee Park wrote: > Change variable name to be consistent with the naming conventions. > ssidlen was changed to ssid_len and ssidie was changed to ssid_ie to be > consistent. This makes the variables more readable. The other ssid > names in the code are separated by an underscore. For example, > bssid_filter and num_of_ssids have the ssid separated from the rest of > the words with an underscore. > > Signed-off-by: Jaehee Park > --- > drivers/staging/wfx/hif_tx.c | 10 +++++----- > drivers/staging/wfx/sta.c | 20 ++++++++++---------- > 2 files changed, 15 insertions(+), 15 deletions(-) > > diff --git a/drivers/staging/wfx/hif_tx.c b/drivers/staging/wfx/hif_tx.c > index ae3cc5919dcd..9c653d0e9034 100644 > --- a/drivers/staging/wfx/hif_tx.c > +++ b/drivers/staging/wfx/hif_tx.c > @@ -280,7 +280,7 @@ int wfx_hif_stop_scan(struct wfx_vif *wvif) > } > > int wfx_hif_join(struct wfx_vif *wvif, const struct ieee80211_bss_conf *conf, > - struct ieee80211_channel *channel, const u8 *ssid, int ssidlen) > + struct ieee80211_channel *channel, const u8 *ssid, int ssid_len) This is not really a "coding style" cleanup, it is up to the driver author how they wish to name these variables. It is not a requirement to change them as the orginal names are just fine. thanks, greg k-h