Received: by 2002:a05:7208:70d5:b0:7f:5597:fa5c with SMTP id q21csp102200rba; Wed, 20 Mar 2024 12:12:06 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWC4+jjpDsLOkADnFxagakaBmZ/W0m2vFyV2bZSCkaLabACMnjUEZreV3KlyZsW+me9Iwpdpj3Bif99R+CNHomb7xCj0Tkdaa/tCvXJbA== X-Google-Smtp-Source: AGHT+IFr0PePMauDKAkNAGj8G6FsckO1IiNgoKSSeItukLuDCsN+2bHjsx5GlqV7+bvjbL0zNYdZ X-Received: by 2002:a17:902:ba8c:b0:1dd:c18f:1886 with SMTP id k12-20020a170902ba8c00b001ddc18f1886mr18488011pls.65.1710961925871; Wed, 20 Mar 2024 12:12:05 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710961925; cv=pass; d=google.com; s=arc-20160816; b=mKr4rwR81P+xx0GpQKUf5zSS80SX/FqXbcShyPIjxQnBZnoi1/TpQS5gbVIPNNYkIL 5mKLUJF41TNpdzDROvrVe/0YlvdByv75xCxEBOdReCaAmBf7/ADq/C1LMcfR82Tg424A kcV7Rv3cYBikSHQcZDQSzXDaUuf9rTZ/ZK4c5SjmWZGkFI6cZ0sh6Xif0QswSnu81tqQ D/rO/zMWF2F1/b++m9En7CdKHF0fALnB8D/YxDW3txjU/EjAUYfWqEYAErCoQ8R4tPXM wcgbpXN7djcpj8fQzFMuDy+Sy3D5Vyd98C9a9gZuO4mskoxwUjwi+HJNhIfLB3ekIWeG IoYg== 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=Srjsnisk3Phfncm7ihDxCFtmSf6zZgCddumbN6B4tLE=; fh=bVnGMOgVBOI3GUig5gR/PBs2oPj09P99Cqsxs7J85XE=; b=aTRw0NXDszz6HPSgq7l7jt7ORQBZueetsfDf5sz/mI9pslVUGjfdo1fY+lc1rDAM2t c47lS+XmZv2dyTsvgEc869q4PB0gNrlgDalOGyHLbGr1opkcweYYXCy23vi4kuGujyVW CfExSO9wnqXAMtvId4Fd2YgYwwKFv+c7phIQhlI/KzxAEEimVXlOA4T0VLZIzN/FFgzS hNgpsNE/r4wAaZQV/S2NAxVH9/HIPxD2ZVG0HiN0k2X/xDZLDErU0Iq4KjqjuW/XE3/I thgRc7oDT2Hs+s5XFQH9XvuiiNL+Jj/xy6Bux1DVrVd6ECOxsOGoBxsRrE2ZjYVlWOFV DS+w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Ezm4psoI; 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-109329-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-109329-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 ll12-20020a170903090c00b001e0654eb738si953679plb.274.2024.03.20.12.12.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Mar 2024 12:12:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-109329-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=Ezm4psoI; 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-109329-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-109329-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 703A8285329 for ; Wed, 20 Mar 2024 19:12:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 22A1585638; Wed, 20 Mar 2024 19:12:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="Ezm4psoI" 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 B970C85623 for ; Wed, 20 Mar 2024 19:11:58 +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=1710961921; cv=none; b=HzELKSuMoerCbIHrjx8+6eCqzGraBCkJyAE3XuyTl6HVOHC3lkNgzpUfOICZRsOQFdgrNa3I9pUnNuNw0yVZ3sOSf4fsCd79giAq0d/rNUvjdkzXs0o4XPWsJcuVrq9mOd6ZMa7uKZ7RBsZCDCB7/ffG87IQST1sHAF/nwUm/PU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710961921; c=relaxed/simple; bh=wSvcPIoWz7sDAd12lh4qNgUxEOepxCpDUmRv5msijDw=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=m8sSPzs4E2aXUzYjDGS0vXo2emy7pC3TuRx4GXjYwqmH65UZNjRvB9evYdcsTxR3sgyuDfumt4gN30W8gTDXWhimD8GYENEql3XrolSTJ79cbe3ayaYd04GFouU2JyCWXuzS2H3nwGKMrH/nD3x7MDLVbrEPBFnIUdJipeNpeUA= 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=Ezm4psoI; 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=1710961919; x=1742497919; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=wSvcPIoWz7sDAd12lh4qNgUxEOepxCpDUmRv5msijDw=; b=Ezm4psoI6Ohn5qA1brFgWVPFnrx5mbuP4f0eOEaY96eDG5ZGNMWdzikv xR9hmxrwBINYbEPAc6I60OJ/DUfcHlpFs/i6nQFPGUUg7AcXLTXY2RTi1 XihjAr3sMA5bY9FZmknPdeaWtR14lckJl9lpx1VwwZJM1THzCD55xLirY isjmBbijFevp49RgoOX06XqVy5NQ6JJdbhQL2s4lOOvdwugPYbcgfJbA3 C2WaKbFVdOI/vzeOEzjgFn0jNjcs1SYnpo5wkGNRTGkk1ePoAAhrWRpn+ brjPvvVJDgEaB4s6r1BZFxq0tRGHKW+UbdXEKW4nPKZnxu80EiTrtqyw9 w==; X-IronPort-AV: E=McAfee;i="6600,9927,11019"; a="6120387" X-IronPort-AV: E=Sophos;i="6.07,140,1708416000"; d="scan'208";a="6120387" Received: from fmviesa004.fm.intel.com ([10.60.135.144]) by fmvoesa108.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Mar 2024 12:11:58 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,140,1708416000"; d="scan'208";a="18889911" Received: from aschofie-mobl2.amr.corp.intel.com (HELO aschofie-mobl2) ([10.209.72.188]) by fmviesa004-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Mar 2024 12:11:57 -0700 Date: Wed, 20 Mar 2024 12:11:55 -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: pi433: Correct comment typos in pi433_if.c 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 Tue, Mar 19, 2024 at 07:44:33AM +0100, Felix N. Kimbu wrote: > Correct typos in pi433_if.c comments to address the following checkpatch checks; > > CHECK: 'interace' may be misspelled - perhaps 'interface'? > #13: FILE: drivers/staging/pi433/pi433_if.c:13: > + * HopeRf with a similar interace - e. g. RFM69HCW, RFM12, RFM95, ... > ^^^^^^^^ > > CHECK: 'ebedded' may be misspelled - perhaps 'embedded'? > #71: FILE: drivers/staging/pi433/pi433_if.c:71: > + * so we have just one rx config, ebedded in device struct > ^^^^^^^ > > CHECK: 'reenabled' may be misspelled - perhaps 're-enabled'? > #650: FILE: drivers/staging/pi433/pi433_if.c:650: > + * irq will be reenabled after tx config is set > ^^^^^^^^^ > > CHECK: 'pendig' may be misspelled - perhaps 'pending'? > #926: FILE: drivers/staging/pi433/pi433_if.c:926: > + /* during pendig read request, change of config not allowed */ > ^^^^^^ > > Signed-off-by: Felix N. Kimbu Hi Felix, This commit msg and log can be trimmed. Please take a look at samples in staging or here on the Outreachy list like this: https://lore.kernel.org/outreachy/00be5f2a97b0c899279bd8f9cd27634186b77b9d.1666299151.git.drv@mailo.com/ Checkpatch complained: WARNING: Prefer a maximum 75 chars per line (possible unwrapped commit description?) #311: Correct typos in pi433_if.c comments to address the following checkpatch checks; WARNING: Commit log lines starting with '#' are dropped by git as comments #314: #13: FILE: drivers/staging/pi433/pi433_if.c:13: WARNING: 'interace' may be misspelled - perhaps 'interface'? #315: + * HopeRf with a similar interace - e. g. RFM69HCW, RFM12, RFM95, ... ^^^^^^^^ WARNING: Commit log lines starting with '#' are dropped by git as comments #319: #71: FILE: drivers/staging/pi433/pi433_if.c:71: WARNING: 'ebedded' may be misspelled - perhaps 'embedded'? #320: + * so we have just one rx config, ebedded in device struct ^^^^^^^ WARNING: Commit log lines starting with '#' are dropped by git as comments #324: #650: FILE: drivers/staging/pi433/pi433_if.c:650: WARNING: 'reenabled' may be misspelled - perhaps 're-enabled'? #325: + * irq will be reenabled after tx config is set ^^^^^^^^^ WARNING: Commit log lines starting with '#' are dropped by git as comments #329: #926: FILE: drivers/staging/pi433/pi433_if.c:926: WARNING: 'pendig' may be misspelled - perhaps 'pending'? #330: + /* during pendig read request, change of config not allowed */ ^^^^^^ total: 0 errors, 9 warnings, 0 checks, 32 lines checked NOTE: For some of the reported defects, checkpatch may be able to mechanically convert to the typical style using --fix or --fix-inplace. /home/cxluser/patches/outreachy/felix-spell.patch has style problems, please review. NOTE: If any of the errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS. > --- > drivers/staging/pi433/pi433_if.c | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/drivers/staging/pi433/pi433_if.c b/drivers/staging/pi433/pi433_if.c > index b6c4917d515e..81de98c0245a 100644 > --- a/drivers/staging/pi433/pi433_if.c > +++ b/drivers/staging/pi433/pi433_if.c > @@ -10,7 +10,7 @@ > * devices, basing on HopeRfs rf69. > * > * The driver can also be extended, to support other modules of > - * HopeRf with a similar interace - e. g. RFM69HCW, RFM12, RFM95, ... > + * HopeRf with a similar interface - e. g. RFM69HCW, RFM12, RFM95, ... > * > * Copyright (C) 2016 Wolf-Entwicklungen > * Marcus Wolf > @@ -68,7 +68,7 @@ static const struct class pi433_class = { > */ > /* > * rx config is device specific > - * so we have just one rx config, ebedded in device struct > + * so we have just one rx config, embedded in device struct > */ > struct pi433_device { > /* device handling related values */ > @@ -647,7 +647,7 @@ static int pi433_tx_thread(void *data) > > /* > * prevent race conditions > - * irq will be reenabled after tx config is set > + * irq will be re-enabled after tx config is set > */ > disable_irq(device->irq_num[DIO0]); > device->tx_active = true; > @@ -923,7 +923,7 @@ static long pi433_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) > case PI433_IOC_WR_RX_CFG: > mutex_lock(&device->rx_lock); > > - /* during pendig read request, change of config not allowed */ > + /* during pending read request, change of config not allowed */ > if (device->rx_active) { > mutex_unlock(&device->rx_lock); > return -EAGAIN; > -- > 2.34.1 > >