Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp2027484pxf; Sat, 3 Apr 2021 08:25:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyFizGgcVlwKVN9n+zAsSvkvEyp8bcUDb6C2zWrv0CKHhgN/munIw6bccvi3Oge5Zc96ecQ X-Received: by 2002:a05:6402:42d1:: with SMTP id i17mr20840054edc.131.1617463504291; Sat, 03 Apr 2021 08:25:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617463504; cv=none; d=google.com; s=arc-20160816; b=qj9rPL6SYzQGH25VAbvmc2ZyZBt1UeQOCHdHKpeioL6zmYZez2Acrsc2PaHIc4WTRJ VcEu1zqF+UyUCMTCEI32uao4ZlUWoTkAL0sEogB4GSV6XY94seGlAlns7nvvB5F3spMC Xmm3Hu7X4QWW+d+zg/WHtTlCpw3WizpMaW1QKeLQgzjx+qt3VL+HkUIcMVeNCkWyOSQQ ZtwkuPiSNSa1wmecVvz/W/S8M6ND7TU20MCwNdBW5j/yc1u+wL/Q0CqAHbnruJ546Wxp jD9wDL4R0B4801T2/B5bS1Z1/1w5SmjX9Kv9F8k7tp8MW+xhLeyvkrJHwcYWS4ekt5cQ 1CSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=Sfd8DudOIuGyL5rc9egOme31BdENe1jWkpbRM3j4vK4=; b=XIsEFAWUUJyQw/envcpvbXwVS3eXZMKEIizkDNE9lnu9GYfikAfjlHH4TkllQmrCMC WGPWhbBU0IvL+vZZhuem0buhPKawKNnZ5ONVko4oGYlP3DlaOaUJUahNodv5MXuslhNO xNjt+SpYXBnwRSd1L/HBq4SUaSx68gbUXt3QkpvS9/G6l2qT9ymEcs9rK+9+VgVjzn6o cotRxlsZVPUFVQxbcUepdbptWyIKkctKjKwdvn3OpGB9wL9ALziMlFgU7AQ1/yPEXcLS bgTlYVluyLSxqqqOPEzU/86szAmReidUQh7rZjg0ZSPHkQRL+GR/NkZETRA/E8jWjFJH y/Gw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=jEDVz8cl; 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 x8si8825062edd.185.2021.04.03.08.24.41; Sat, 03 Apr 2021 08:25:04 -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=jEDVz8cl; 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 S236815AbhDCPVw (ORCPT + 99 others); Sat, 3 Apr 2021 11:21:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55806 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236791AbhDCPVw (ORCPT ); Sat, 3 Apr 2021 11:21:52 -0400 Received: from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com [IPv6:2a00:1450:4864:20::32f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 521F6C0613E6 for ; Sat, 3 Apr 2021 08:21:48 -0700 (PDT) Received: by mail-wm1-x32f.google.com with SMTP id 12so3740520wmf.5 for ; Sat, 03 Apr 2021 08:21:48 -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=Sfd8DudOIuGyL5rc9egOme31BdENe1jWkpbRM3j4vK4=; b=jEDVz8cl2My814T63UzgroWd+kp0KmVUAkA7sgDtHGXGaNzmczXBRY8so0VSq3gC9I TmXIUH6O+6g+HjLMoEP3uevChHVfWFlg21/wVlOEf/Hx6yReHEyK8NQO9x4egfSVi0X7 BpLJ3QDDJaDxzNYAoLPhKUbkfDwFExlsrWbmzGrKcThu2BGgCKy2HGYYJ2ehgIJRAxdv jxk3bgzC10GmReX/E0wkq5fpYR1D3erjJ0MwgWyABxQxKfK+Nd0i5liGJbQZQPB008H6 5fz4ecQQ3U907EIZQx+0cDNxzKc4aKPvi5/xGR1DpU8GDkOlhN+/jqSWWweEthKZzi63 zMGw== 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=Sfd8DudOIuGyL5rc9egOme31BdENe1jWkpbRM3j4vK4=; b=YhJZCaCZVh6FyuNNRQfs5KPosoYp2459fznbXGX1J8+HOifxOQnNxndF2tOzV1u0U9 tZZ24mlTv50iRfu5xrU2sOHMb5n7TVsHzPGYhj5JHfprL/d9JollpDsmhh8WPYLiteif DAlTgYVdt5nNln59qzmcsflsENJ2NorXXWNwh9XH0zBXSh7CFKBkZVPOkmdSSwjOuoy4 IkJVLMZkx+vdBZG6iG5BGiB94XaOJR+agyh4JBeepq3IPc71qU9Y+NfPoYhFFbV7HaSU DOGJFqi+MvifaKKklptYRIek4XQDnruBmitLbM+VrXRnliITbxEVRBI9qKemBjU1DxKZ xOSA== X-Gm-Message-State: AOAM531F5Ui6BvXpch9OSaPUc5FE/q58llxDVssgk/eENvcqGiLDYN7M aDlDEWbL4IX7TfIbG+GIKtbE3BSAD+yeGw== X-Received: by 2002:a1c:a958:: with SMTP id s85mr18137514wme.4.1617463307078; Sat, 03 Apr 2021 08:21:47 -0700 (PDT) Received: from agape.jhs ([5.171.80.6]) by smtp.gmail.com with ESMTPSA id v18sm20291660wru.85.2021.04.03.08.21.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Apr 2021 08:21:46 -0700 (PDT) Date: Sat, 3 Apr 2021 17:21:44 +0200 From: Fabio Aiuto To: Joe Perches , gregkh@linuxfoundation.org Cc: dan.carpenter@oracle.com, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 00/30] staging: rtl8723bs: remove RT_TRACE logs in core/* Message-ID: <20210403152143.GA1403@agape.jhs> References: <1cd79d781cdcccf621ce8e104a9cdf1e90e7f803.camel@perches.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1cd79d781cdcccf621ce8e104a9cdf1e90e7f803.camel@perches.com> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Apr 03, 2021 at 08:02:25AM -0700, Joe Perches wrote: > On Sat, 2021-04-03 at 11:13 +0200, Fabio Aiuto wrote: > > This patchset removes all RT_TRACE usages in core/ files. > > and hal and include and os_dep Hi, I was just about to send the second patchset relative to hal/ files. The whole has been split up in directories in order to reduce the number of patch per patchset > > > > > This is the first of a series aimed at removing RT_TRACE macro. > > > > The whole private tracing system is not tied to a configuration > > symbol and the default behaviour is _trace nothing_. It's verbose > > and relies on a private log level tracing doomed to be > > removed. > > It's nice, but individual patches per file done by hand are difficult > to review because you are interleaving removal patches with cleanup > patches. > > I believe this should be a patch series with a single patch to remove > all RT_TRACE macro uses using coccinelle and then use separate patches > to do whatever cleanups around these removals you want to do. It's a good idea, but the patches relative to RT_TRACE removal could be huge > > All of these below should be done for all files in drivers/staging/rtl8723bs > at once instead of submitting per-file patches. > > IMO something like: > > Cover-letter: Explain why you are doing this > Patch 1 of N: Remove all RT_TRACE macro uses using a coccinelle script > and include the coccinelle script in the commit message > Patch 2 of N: Remove commented out RT_TRACE uses > Patch 3 of N: Remove RT_TRACE macro definition > Patch 4 of N: Cleanup coccinelle generated {} uses, if/else braces and > the now unnecessary if tests around the RT_TRACE removals > Patch 5 of N: Cleanup whitespace > Patcn x of N: Whatever else related to these RT_TRACE sites... > > https://lore.kernel.org/lkml/c845d8ea7d0d8e7a613471edb53d780d660142a9.camel@perches.com/ > > Using a sequence like the above would be much easier to review and > would be a significant shorter patch set. > moreover every non RT_TRACE deletion patch (clean up patch) is near to the contextual deletion patch (parent patch or grand-parent) but I do not have experience in code reviewing, so I will do like you say. Maybe I wait for other opinions, but what you say is good and elegant. thank you, fabio