Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp720840lql; Mon, 11 Mar 2024 15:46:48 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUU4vi38VwEkjpDksfD4MJ2eQj9orWIbjeTaCnv1FYopqrUCyYwJhAo9or2Zjr4w9as8Hp9WkpGIKh8hFzgF3hZo4sW8gBhXZ5Djs9JFg== X-Google-Smtp-Source: AGHT+IFVuCwyABBFwbLZXXtYdO49ZY7Sb0/ATCPJrDB1Q8q5RjNpl2NiKUj1ORm7bF0EpsNSdBOw X-Received: by 2002:a05:6e02:1d12:b0:363:d8dc:2a31 with SMTP id i18-20020a056e021d1200b00363d8dc2a31mr11826542ila.14.1710197208041; Mon, 11 Mar 2024 15:46:48 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710197208; cv=pass; d=google.com; s=arc-20160816; b=opjweFZmB3fgiqOJe8qnSsCIVO3e1hIZj92guSHSxwa06Ib0NEiOSyntjP9APB6s8n fHjilkOf/od5D8ZG4XHzkuDmIVushrVNxQ9Zgqleupvyzpo4eMn9tejsJOPUQVFQGHNY plJbku85lmcQ1UNYZT/JgwaOqBHPAe6/j/DvzxZkR9R0J+2kvevcm9SGJPmidVSkAp6d CYB2dKiNzFyMrZKPrM0tttLmOV0OKu6SYmZnmGndco/l9k54knmSmNjvzDYPbpBiKDr+ El8+IWyE74sSbYJPlzejWQ25XsEe1FhEJXgS5Mq27oTfsnpU3UI71EbVK9KcZn+EDqO3 dq4g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=f3WKVkmCueN2dthsS5943bvVYcH3pmLtHyrW43ES228=; fh=bVnGMOgVBOI3GUig5gR/PBs2oPj09P99Cqsxs7J85XE=; b=jyczB/w7Iuu+k79PYpZ86E5Ewvo30ttWOWo2JTBhCjCQbvOUYaIi0BMECqWjptYVvW Il1GpCehyEY9iFPy9FaGCUb+P5JIvSIiCU4E9J3IcOqGS5pFfiL78IcXtU2mevHx1UYO JB5AcOS6sSXM+Gu2xsCZZ9AcL5kVEqfkBmsb0b3hHnKIlfSSttM9te45Vb8sx2EQ15oZ eRiG9eB+du2uAu1Vt6RozodV6pFHKZpUJ2ZTzMTLorRU2tPyLSiSmWam5sqkWQHcGp92 spShPmt/3uZ2DVPZVsqUY/8QHdVOTL8YqGfivBieEGYv0UdAa0AYNsxUuDiEObrUbLJ+ JBlg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=FQbd+xEN; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-99625-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-99625-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 14-20020a63144e000000b005d8badaa0c8si5750660pgu.621.2024.03.11.15.46.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Mar 2024 15:46:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-99625-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=FQbd+xEN; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-99625-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-99625-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id B171F2823E7 for ; Mon, 11 Mar 2024 22:46:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8F4985820E; Mon, 11 Mar 2024 22:46:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="FQbd+xEN" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.14]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EAECA5810E for ; Mon, 11 Mar 2024 22:46:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.14 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710197200; cv=none; b=ca0Y27K3mBT8IzUdeqYFO8XsIc8j9ZIyV2ntDScNTpcbrtZl+qOhNIqIIoVqOe5p/IVWSdB8h2AQIg8ac80RaWtph7nZNHRqIkRAHkRj7iOo+QnQdw5+KJe8t5T2qMALubp0/q1MYznBH93yHyyZDnyp9mf1tTCtR5woZA8Lo58= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710197200; c=relaxed/simple; bh=ZJAAeL3fVss9iGjRrFB3dUfBTrjy5/IGazLgsApqp4Q=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=lgQ3JTZdryU9wSg2hlPmMDxH8Yce9Mx5HjyD28sF4rzip1wFPN0RYhIkH7d4bzOKkaKidvHHNq9DpgLCqLLFt6VBxhbrep0EwqiG2t0Yt/aR5Ko6uoBlrhQSydVwiT3nC+Fvpha2giCuSylSC7b9zhhgx08yTMkHWAjUdvDrwck= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=FQbd+xEN; arc=none smtp.client-ip=192.198.163.14 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1710197199; x=1741733199; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=ZJAAeL3fVss9iGjRrFB3dUfBTrjy5/IGazLgsApqp4Q=; b=FQbd+xENy+oxZbeIYdwrnN/sUNl+x577ZUtEZnv+Ln5Xd1yHsIPdtKVx woOe+J4ZiomnEiyEIC8Z+rwEVq4/MMxtTdZqaMnvUJyAxobjXSlv/FVwx 5xibQEZKywY2hP0u29YfVO05LpmgBwcDSCW/msTgNHxEt0MzUoELaaLHv ngXJxdu9esdJcCniR8ubM8Q+18VyDBa1vXOAqeqsRgg6hVwCCSNH4OxlH +Mj1CEa7QDBdCVRCeqiOHLguyJsxqKk+wMdHHg7OEqx/6uEdAOa5fK/Fz JB5apdjfRcSEgRtoBWH9qf4cO09ZPbtfLt/RZcMYqtvfa76biLxaNrqq9 Q==; X-IronPort-AV: E=McAfee;i="6600,9927,11010"; a="5069989" X-IronPort-AV: E=Sophos;i="6.07,117,1708416000"; d="scan'208";a="5069989" Received: from fmviesa005.fm.intel.com ([10.60.135.145]) by fmvoesa108.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Mar 2024 15:46:32 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,117,1708416000"; d="scan'208";a="15811648" Received: from aschofie-mobl2.amr.corp.intel.com (HELO aschofie-mobl2) ([10.212.137.71]) by fmviesa005-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Mar 2024 15:46:31 -0700 Date: Mon, 11 Mar 2024 15:46:29 -0700 From: Alison Schofield To: "Felix N. Kimbu" Cc: Greg Kroah-Hartman , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, outreachy@lists.linux.dev Subject: Re: [PATCH] staging: p80211conv: Rename local foo to decrypt_check Message-ID: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Mon, Mar 11, 2024 at 07:07:55PM +0100, Felix N. Kimbu wrote: > This change renames the local variable foo to decrypt_check in functions > skb_ether_to_p80211(...) and skb_p80211_to_ether(...), giving intuitive > meaning to the identifier. 'rc' is typically used for cases like this. If the name of the function being called is reasonably intuitive, then 'rc' suffices for the return value. > > It also indents the parameters to match the the opening parentheses. 'Also' signals that this patch is trying to do more than one thing. One type of 'thing' per patch please. The commit message prefixes are off. Please see First Patch Tutorial Section: "Following the Driver commit style" Patch fails checkpatch. Please see First Patch Tutorial Sections: "Git post-commit hooks" and "Understand patch best practices" --snip