Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp806260pxb; Thu, 15 Apr 2021 07:06:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxlsY+7+W5CJbZGSWOSU0YrcaVpSJcxf7ESWG6ks41f24RZv1znuUIQrS92T4EBRex+RQNF X-Received: by 2002:a05:6402:26d3:: with SMTP id x19mr4432378edd.349.1618495565894; Thu, 15 Apr 2021 07:06:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618495565; cv=none; d=google.com; s=arc-20160816; b=xPXRU8/z+oRp7Nc5hmPzxaz6grCPH6vLCR3M5L71MGv94qR7DDEkTGKI66r2U/Opeb UmbUAE5Oy92hQaCwKQM4nBK5JTWpb7RNMD6ViGZ9NeDurwctgSjpuNg6wnSHHmvT94N3 BAh2txEoZSKk9yW/JFKS1ltYXolVmlhhXTAmC7RKHl9ApzbPWKRjNLp9az+r4g+LZtap g6qiCDLBxH2N8PpJU3g4ba6JKZIkwhBGaGbHMo2Pvgo89qq0K0GnO6REi1TX1RHvWxfs AagXQh5bQ+fQUYUJJGrxcsJ250TdCcSFfnKKLP709VEbjZOUzRorxToSLjSIWwE8WLOG YNlw== 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=5XPT6W5he0UfMYjZNPGLkFire9o8RBMsN2S/bCzx5Ng=; b=hpNSDNNy8CsY9M4JPnLxrgucYl162M5urVCejHGOYInZajkzLJMqGJGYi6qKmEHI9W lecKWFL9Um75gYoEhI+9ZPfYxScEQ2IyLacWA4wbCst72xR7zDfpPREZU0DlxLf4SG0r 3oj70vxXfJKyZ7soziOgSyt48Lpw9DsAoKhvGE5HCogMwkYWFQoJ0gBReKryAs0kD5R4 O++F0PiZQc1O5ALFM9f80lnmUWCqPC7YBdC4gFEocg/9rhE1eSAuZr5YSkH4mVxFZUvL vvvjDcndkffuzq5B9DH/mNkKJBwh3/u7rAXlv3wuVTe/e82owJRyTwkvNT6R/3CoyZq3 JxvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=cleochVx; 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 ba26si1534680edb.105.2021.04.15.07.05.41; Thu, 15 Apr 2021 07:06:05 -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=cleochVx; 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 S233395AbhDOOE3 (ORCPT + 99 others); Thu, 15 Apr 2021 10:04:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33032 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233257AbhDOOE2 (ORCPT ); Thu, 15 Apr 2021 10:04:28 -0400 Received: from mail-pf1-x435.google.com (mail-pf1-x435.google.com [IPv6:2607:f8b0:4864:20::435]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A5BE8C061574 for ; Thu, 15 Apr 2021 07:04:05 -0700 (PDT) Received: by mail-pf1-x435.google.com with SMTP id n38so16140184pfv.2 for ; Thu, 15 Apr 2021 07:04:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=5XPT6W5he0UfMYjZNPGLkFire9o8RBMsN2S/bCzx5Ng=; b=cleochVxryEm6n+xPLdbi6rWCiJMx6jse9wDAZ2S6KURoNsWa8shkEYnqJ3kerW42j aEoddADtBA7Je9fqWlaPShWFbBRSsrqjiFJlKDF1d95merOtepfBt0qOsNOw/vsfS5nL tu+zjwAb4PDxVVsaJHws0sN7ld6LlZna6zZlwi3a/wwPIzmb22qvQIBBZKDUv5hhbZqB hnNDSD+Wfd0Ps9LdLRQx30WNR/orJZjOCiDSB8EI8TvwtgE69qaWXUiKCJ9R/+O3XSYH hbEZo9IJAzM7u9euVsmHGqSqZfPUS9MGhxZqOwNBnq8LDgTrRP3+lD6I8CqpAIOTRW0f 3tdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=5XPT6W5he0UfMYjZNPGLkFire9o8RBMsN2S/bCzx5Ng=; b=R4iWfQrEyzL+BkwPdua1rRd8ulglPmG+QqISq4hJpcephLyKzg/gkL5sZPxY0wFxQO jbhJ3DBgnV/35akekWG5e6hnB0KMQiZVvhniT6sQt3z0qRtcF2fltWTUgMCHUQZs4YNv Lcnhnild8sVpDNVbnFvFlOyDIto+P+y8b9oY4XDMxUNNnxIUIwFHMx6bDx+yE2XRmHxo y5kL6oAQkZ/IeDXYj5I9iB6TNdhN754socb06Hc3NAksV2xo+LLfS4G30LIiobgQeDJ+ u+KV5XTRGzisyoCiqnNLWz8+tDjGF6fkYAbHmhNPJsKI/X2I1UPvGl0eTfNssyXjG344 axEQ== X-Gm-Message-State: AOAM533G7dFitc9xD4mayaTKMSHUw1WC4/Vkofm3bM5LHMfIf2UmokNm vpBYmYFqXEWgyhAgM2ewPKw= X-Received: by 2002:a62:52c7:0:b029:255:e78e:5069 with SMTP id g190-20020a6252c70000b0290255e78e5069mr3227022pfb.45.1618495444989; Thu, 15 Apr 2021 07:04:04 -0700 (PDT) Received: from kali ([103.141.87.254]) by smtp.gmail.com with ESMTPSA id y187sm2330633pfb.109.2021.04.15.07.04.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Apr 2021 07:04:04 -0700 (PDT) Date: Thu, 15 Apr 2021 19:33:56 +0530 From: Mitali Borkar To: Dan Carpenter Cc: gregkh@linuxfoundation.org, davem@davemloft.net, kuba@kernel.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, outreachy-kernel@googlegroups.com, mitali_s@me.iitr.ac.in Subject: Re: [PATCH v2 4/5] staging: rtl8192e: rectified spelling mistake and replace memcmp with ether_oui_equal Message-ID: References: <20210414075525.GR6021@kadam> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210414075525.GR6021@kadam> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 14, 2021 at 10:55:25AM +0300, Dan Carpenter wrote: > On Wed, Apr 14, 2021 at 12:26:01PM +0530, Mitali Borkar wrote: > > Added a generic function of static inline bool in > > include/linux/etherdevice.h to replace memcmp with > > ether_oui_equal throughout the execution. > > Corrected the misspelled words in this file. > > > > Signed-off-by: Mitali Borkar > > --- > > > > Changes from v1:- Rectified spelling mistake and replaced memcmp with > > ether_oui_equal. > > > > drivers/staging/rtl8192e/rtl819x_HTProc.c | 48 +++++++++++------------ > > include/linux/etherdevice.h | 5 +++ > ^^^^^^^^^^^^^^^^^^^^^^^^^^^ > This is networking code and not staging code, but the netdev mailing > list isn't CC'd. > I didn't knew mail id then, I will look into this, > > 2 files changed, 29 insertions(+), 24 deletions(-) > > > > diff --git a/drivers/staging/rtl8192e/rtl819x_HTProc.c b/drivers/staging/rtl8192e/rtl819x_HTProc.c > > index ec6b46166e84..ce58feb2af9a 100644 > > --- a/drivers/staging/rtl8192e/rtl819x_HTProc.c > > +++ b/drivers/staging/rtl8192e/rtl819x_HTProc.c > > @@ -43,7 +43,7 @@ u16 MCS_DATA_RATE[2][2][77] = { > > 810, 720, 810, 900, 900, 990} } > > }; > > > > -static u8 UNKNOWN_BORADCOM[3] = {0x00, 0x14, 0xbf}; > > +static u8 UNKNOWN_BROADCOM[3] = {0x00, 0x14, 0xbf}; > > Please pull this spelling fix into its own patch. > Okay Sir. > [ snip ] > > > diff --git a/include/linux/etherdevice.h b/include/linux/etherdevice.h > > index 2e5debc0373c..6a1a63168319 100644 > > --- a/include/linux/etherdevice.h > > +++ b/include/linux/etherdevice.h > > @@ -87,6 +87,11 @@ static inline bool is_link_local_ether_addr(const u8 *addr) > > #endif > > } > > > > +static inline bool ether_oui_equal(const u8 *addr, const u8 *oui) > > +{ > > +return addr[0] == oui[0] && addr[1] == oui[1] && addr[2] == oui[2]; > > +} > > The indenting is messed up on this. > OKay Sir, I am looking into this. > regards, > dan carpenter >