Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp2805826ybz; Mon, 27 Apr 2020 05:01:11 -0700 (PDT) X-Google-Smtp-Source: APiQypKeO97IySDXOdJiXrpeFPq2YaziMWa7yFynT7PACDJqFCT0vSP02ExE/aOrZ/mFh9Q9QiEp X-Received: by 2002:aa7:d78a:: with SMTP id s10mr4914060edq.319.1587988871491; Mon, 27 Apr 2020 05:01:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587988871; cv=none; d=google.com; s=arc-20160816; b=QzZnd/UnWydPwe8BtYHcJfPhDQ8Ubrc/Gi0KudSIoL/wAvoWqvx+h5HanG9DpbpbIv qH4rcamU01bbCRwKYe6jPxpitqQgGm59Xp68dMjSL8VkvYuDMv3QAUQ6QQ4RiNQUJ36U gr52IMfPRrJa/XgUfyHAA0DVWZFThueGF0xeSKBExNwT98UPmbuo3ccQ2dZcf+w61OUr +lQLaWVJeu0+f45pkKm9c4/dlnrZLyKjzfqGtrieeFeEhaF1xLhUwDSTSJv41VmhmUqZ 8OVPEtcTNThgbXNVXH4DyG0XsFXN+U1L/yI6sFfK51fOmyYYJmpifxkWvfsfMqyiKp2T 60uw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=zxZ+N+WEssbmNvYM0Ih4yXgwxlPsTEXMjiSj67uczQI=; b=0L8t4P0FxU4vnD0tkzhf1zEUCgEHgvhWQmtnsdNlaw5JKdhkbdpOEfptwKw2UozGQu 1oXS/CiQrA073AGwnMP51CE2bfMWlg+XXKPlFSQGhd0lyWNVcnMpm6Kwc6ek5lssc3nC giAQyo6dG2xOMBVUZtocQF+j2A2ecr31Aj5DOrj3HsD7+ZddqDRl0SLBoPp8TEasdTUb 6TcURLqrXY2N3cvhW+XDq+GDle25xHC2QXNGZwVjoje4fsbrP7Mc8xwW4jPT0Lqw6Rk4 nZrrohm+JsOtojgR1K43eCgH50xuU7P9J8QZxaG2O4MhMxhe0i6I0156A64T6rdcZlJz u+QQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=kzQ6UXfW; 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 k11si8336833edk.406.2020.04.27.05.00.46; Mon, 27 Apr 2020 05:01:11 -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=kzQ6UXfW; 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 S1727065AbgD0L6v (ORCPT + 99 others); Mon, 27 Apr 2020 07:58:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38850 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726539AbgD0L6v (ORCPT ); Mon, 27 Apr 2020 07:58:51 -0400 Received: from mail-pj1-x1042.google.com (mail-pj1-x1042.google.com [IPv6:2607:f8b0:4864:20::1042]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 48542C0610D5; Mon, 27 Apr 2020 04:58:51 -0700 (PDT) Received: by mail-pj1-x1042.google.com with SMTP id t40so7357150pjb.3; Mon, 27 Apr 2020 04:58:51 -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:user-agent; bh=zxZ+N+WEssbmNvYM0Ih4yXgwxlPsTEXMjiSj67uczQI=; b=kzQ6UXfWXmPDhjr5Kr6e6I7CGAQl72AJrdi96DXZAcYemHOlOt6l5MeYZlLhIziP1H dhQxttBUGYvW8YYFkJ8bL3wSfDmAE9hiwsLeD4dNBVP8y6HfMb7zK7sBIFi+co6zQtvi XotJpwYJcrN9E6eoM9+JG8Kf0irrHTosM/JqsGbVMvJW+fxLU189DOM68kmPMS7va4V1 o5hA/mIYrcrzB2iyQVP4w420myfpLxTmZLHpOqgoRia/r32o036ck201A6OqdrTkHsaY av1d10Jd+KQPpNlfXdAVJxv4C2FHqmnO4jxll+R6wC7XD/T/82UMt5hMLGHJkr8znuoH rtDA== 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:user-agent; bh=zxZ+N+WEssbmNvYM0Ih4yXgwxlPsTEXMjiSj67uczQI=; b=FDnM5tP923QgBBwFHPHXL8kyQO1Hu86WZeqg9l8s/HDLVukXn64FlvDQN/hGNKK7Uz 26cU0o5AszY4S2PFYcmeEyM0JpY8h0bik8sMbGM+l/+JebLYb+BNg4qmqVeTDIDqKPdD y84VOpEBtj3Hpza+fvmaEpcXtVf7Wj2BICdNf+xzJwNhHh14TVJEEl25/DL7Bwt3j0sq g01t2ZzqfmihfgZm36XBC20fMvEjDpZWN4IFBGO3eyu4Ni+t8fSsEQ405l/TcWrse+7U ETR4wQniXhc0gesSVT9JOoWjbpDjZjgpNFB0FMO6yMiO830Q/NCELQI8p1hgQeuA2+Q1 U3iA== X-Gm-Message-State: AGi0PuaJI+pqkx3UjjS0Tuc3aoUQyu+EhlsuCHQuQcpGWvaNNFRpzzgu LaJvWJh3dpasCo/71Yu4cUmc1KRj3dxiqQ== X-Received: by 2002:a17:902:c282:: with SMTP id i2mr22629215pld.20.1587988730802; Mon, 27 Apr 2020 04:58:50 -0700 (PDT) Received: from blackclown ([171.61.45.154]) by smtp.gmail.com with ESMTPSA id x132sm4992788pfc.57.2020.04.27.04.58.47 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 27 Apr 2020 04:58:50 -0700 (PDT) Date: Mon, 27 Apr 2020 17:28:27 +0530 From: Suraj Upadhyay To: Jerome Pouiller Cc: gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, devel@driverdev.osuosl.org Subject: Re: [PATCH v4] staging: wfx: cleanup long lines in data_tx.c Message-ID: <20200427115827.GA3214@blackclown> References: <20200425113234.GA14492@blackclown> <8518467.FNpd3NTrYF@pc-42> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="vtzGhvizbBRQ85DL" Content-Disposition: inline In-Reply-To: <8518467.FNpd3NTrYF@pc-42> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --vtzGhvizbBRQ85DL Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Apr 27, 2020 at 11:50:23AM +0000, Jerome Pouiller wrote: > On Saturday 25 April 2020 13:32:34 CEST Suraj Upadhyay wrote: > > Break lines with length over 80 characters to > > conform to the linux coding style and refactor > > wherever necessary. > >=20 > > Signed-off-by: Suraj Upadhyay > > --- > >=20 > > Changes in v4: > > - Added a space after declaration in wfx_get_hw_rate(). > > - A checkpatch warning for this commit is retained at line 75, > > to maintain uniformity in function declarations. (Reviewer > > jerome suggested). > >=20 > > Changes in v3: > > - Changed the temporary variable name for the memzcmp statement > > to is_used. (as suggested). > > - Added a temporary ieee80211_supported_band variable to address > > the problem in wfx_get_hw_rate() more efficiently. (not > > suggested, but still). > >=20 > > Changes in v2: > > - Introduced a temporary variable for the memzcmp statement. > > - Addressed the checkpatch problem with wfx_get_hw_rate(). > > - Restored the function definition of wfx_tx_get_tx_parms > > as suggested by the reviewer. > > - Added suggested changes for req->packet_id statement. > >=20 > > drivers/staging/wfx/data_tx.c | 40 +++++++++++++++++++++++------------ > > 1 file changed, 26 insertions(+), 14 deletions(-) >=20 > This patch does not contain the suggestions from Dan. However, it is > sufficient from my personal point of view. Yes, I considered them but thought it would be bad to introduce a new variable at every iteration of the for-loop. > Reviewed-by: J=E9r=F4me Pouiller Thanks Jerome, This was my first patch to the linux kernel. >=20 > --=20 > J=E9r=F4me Pouiller >=20 Regards, Suraj Upadhyay. --vtzGhvizbBRQ85DL Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE7AbCa0kOsMJ4cx0j+gRsbIfe744FAl6myNsACgkQ+gRsbIfe 746u7w/+PohUp9jD+xMXnW5e8Q49hUyz1vbxWWtc0XF6GlWb8Ki/KOY1kcU6+/Um ipSXRDD0hcN8sKalisIVY0PWOAnRerg1GUa7mQWZYw58EGNSDEK4oiiKBXBOtEd+ P+p4xXjq5tdNXN767/fK7Qy59tWDvT3Wz5yIudvV5EEq68ZTcCFwt15Q65yhQSCU vpsqwTTz5ztnYPNLb0aBKOgnvM4W5QHNhOhtBh9QRYeh1EDHPTAMuel38EFCE3tr B74zOcqgLCGj8nE6pDdXfHx2remYfO7AKfeDk9w9T3Uxo31wwlUEGS8JzX2VaArp xPJfmcPdx0GIjwvSha9XzUpThD4beXGtETTk+Qmfc9mdC9Vsy9ORA6TVSMglvtCW VZPT+sQo7M0m7PNU/DdAZiGd9z+/lonv5uP7YgmohkSUiRM/c2e8D3qXcd68tlxJ LGSm0kHRPdib6QjzsUdmIyGgm12dV1PO1Sc4Vgfa9G/Mlpg9x0Z1Pjf1FZbZEMra 6rrftGxAiOnr7U3gjGhdBruNqfrxvHGIy3712YFqKoT7Yi5haRGg0J8SFTzb+bEy iEqNsqaxTLn2UDMg54W9qcuXu/U/zDl5pniYoELjANVrB4JuCRUaLpb2f1vp4Gy2 dFBjsbrCAJ3r808r6AzAOSiJCTJhdg6wIsj9E4c6RVUfPY7JbMI= =eJ/o -----END PGP SIGNATURE----- --vtzGhvizbBRQ85DL--