Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp930187pxb; Fri, 22 Apr 2022 14:37:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy5eH6MBqG0WAUQF5dFqBm3DdEHK4aGfX5nEuh7SEs09EyytWUcnsyQTaPjBZlXYV0H1zP6 X-Received: by 2002:a17:90b:4f44:b0:1d2:c449:8496 with SMTP id pj4-20020a17090b4f4400b001d2c4498496mr7555158pjb.129.1650663441486; Fri, 22 Apr 2022 14:37:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650663441; cv=none; d=google.com; s=arc-20160816; b=OWvVbi/zxQueHsnEQrtPH6IW7uSAlrhMBxNnLWKWcyZgU6ed7IVpBpjflOO/MKrYzj Bm//92ku78BBgEhlnrtXC7WvnLrHC5P9mmtSardjpx9so4td7WXo1D22ZjaxqzPrF7rN T3+qLt6biY0fQ0XDMKmMqj3ZlHg6emgTlOJc6WkmhBcFuse3rvlXyXWEtQU7DKUDuQe8 5rjvfUizIB7RqFSVS5NfDxtvtlRV5ok1LOM0da4w4P8OTex+goUyOXnHfxVkaB0c+d55 usn8BJuAdXXlofHTLe+QfASy2ARBkHpcmTJhH6Vs5tEW94qsEV0hYYGTKojElyoHA0xq U2Ew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=j9sL2H/ZOCgnGpcLG1QjlGRXlzPJ6+xsVS4xIVbj648=; b=kzvDqUxEYFANW8P9MgAJdBdmk1xjsKhTfcnBSxhcptYgC50YdRHafqy+wLQKMoWg4O vTcSfCCGmgoUpKZPup7RvbIdJo8EP+F1YukwiOvDpQqWtOVlVW01r3sFVfkE3AOLjPl9 GiVO+U7aG/Y/TruIbYhhXtnTHbsR3yMlz1hQVbrFnGiuBZCxvPy7v+UzgvFi96oxTG4Z I9dFxyNQiBq1JL9LWpHGkrONhgShGPZWqdWteoDWNCCYnx+e3nYb4JN4xrh/tPaSqZB8 xngAwlIa3fcn3Soba0QbPPuMGyQkZqmHnwxVSi49vY0ktTGwLx9tSEgclW8LlpiHjWho QPag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="U7gH6Y8/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1: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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id kk14-20020a17090b4a0e00b001c613fa106asi10257546pjb.163.2022.04.22.14.37.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Apr 2022 14:37:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="U7gH6Y8/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1: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: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id C296F218AEC; Fri, 22 Apr 2022 12:44:48 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1391635AbiDUS7Z (ORCPT + 99 others); Thu, 21 Apr 2022 14:59:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43350 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1391632AbiDUS7X (ORCPT ); Thu, 21 Apr 2022 14:59:23 -0400 Received: from mail-oi1-x229.google.com (mail-oi1-x229.google.com [IPv6:2607:f8b0:4864:20::229]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E511827E for ; Thu, 21 Apr 2022 11:56:32 -0700 (PDT) Received: by mail-oi1-x229.google.com with SMTP id q129so6591268oif.4 for ; Thu, 21 Apr 2022 11:56:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=j9sL2H/ZOCgnGpcLG1QjlGRXlzPJ6+xsVS4xIVbj648=; b=U7gH6Y8/gtoBXxgZJPMG8CGv9KcR7ZrYZTq7+b3/nIpbx5kUC5y46QJc5psKZOjjnS lUFUGBRoARQfa0YNrcleaNr6peO/QEZyTMSlte1wpLCHf5DcdnT0sX/LTrOUkHNR12Pf reHzDhx6g6JMUfGk8bbgO0fJbV7QSFsrP6VbZcKeSk1Couwd0oPCmcwoN0sakIp32M/8 VQ8EhE0a8O+1Pe0LdenvWdzVOjN/IpI0oTjgcRiVP5fnNGqzmuzR4dSoyizkE/pfMzEi Mrv4RuXQ1iFThF4qgPggmtXH29D2j2ZU1pcpT6Fe99K7oA04JPElztfRcharVx1Yyoun V0Ww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=j9sL2H/ZOCgnGpcLG1QjlGRXlzPJ6+xsVS4xIVbj648=; b=nKinnZCPnn52KkBo55SKeOxs/dh/7aWsZkBu5tcdzvZPUu2jHNFxVjPWG7LvtCq4V1 K//MU+XufcAnVrgpCNJTrNrlb4X0vW8SvzvohR7Vag39wbOOS5WWcANXO9Y8lOR6+yGo E28v6Xwq3s/+JftVBG9NlgCKMKuicnwaKl42T/cyZ3aGch+KDh8K7VSiPq0Qc2aQRTVZ Xocyz0pgx8M3SVXUAyA81qstrSHoZ3PyWZiHh3HAZYlQmpox/gK3T6PL00keu5zCHS9R ytJAyz3+b1Lf5mVkdN2o7/GQ3zcss0k1NPD5YiyZFh6+otDBB0/p8gY8fRFgzM8SGSBY 5rBQ== X-Gm-Message-State: AOAM530UIeDaIVMqXwkb9QXiuWWTEsmobEKBPWp8vA+nNzAhA5pBvbYR pLt8gGCO1G1/OBoUHkrT5Cp+Nost59M5Y7MMdjg= X-Received: by 2002:aca:1306:0:b0:322:9104:6cf9 with SMTP id e6-20020aca1306000000b0032291046cf9mr560869oii.112.1650567392285; Thu, 21 Apr 2022 11:56:32 -0700 (PDT) MIME-Version: 1.0 References: <20220411102136.14937-1-makvihas@gmail.com> <3484215.R56niFO833@leap> <20220412151529.GF3293@kadam> <3134226.AJdgDx1Vlc@leap> <20220413054252.GR12805@kadam> In-Reply-To: <20220413054252.GR12805@kadam> From: Vihas Makwana Date: Fri, 22 Apr 2022 00:26:21 +0530 Message-ID: Subject: Re: [PATCH v2 0/7] drop some unnecessary wrappers To: Dan Carpenter Cc: "Fabio M. De Francesco" , Larry Finger , Phillip Potter , Greg Kroah-Hartman , Michael Straube , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Pavel Skripkin Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Did this patch series get lost? just pinging :) On Wed, Apr 13, 2022 at 11:13 AM Dan Carpenter wrote: > > On Tue, Apr 12, 2022 at 06:08:24PM +0200, Fabio M. De Francesco wrote: > > On marted? 12 aprile 2022 17:15:29 CEST Dan Carpenter wrote: > > > On Tue, Apr 12, 2022 at 11:53:42AM +0200, Fabio M. De Francesco wrote: > > > > I didn't suggest a re-write of the commit messages. > > > > > > Yes. That's the problem. If you want to complain about a commit > > > message then you *should* suggest how you would re-write it. Otherwise > > > how are we supposed to read your mind? > > > > Ah, sorry. I had missed that you were asking for a re-write (literally). > > > > Here it is a sort of diff on Vihas' patch: > > > > - [PATCH v2 1/7] staging: r8188eu: drop unnecessary wrapper _rtw_free_cmd_priv > > + [PATCH v2 1/7] staging: r8188eu: drop unnecessary helper _rtw_free_cmd_priv() > > > > - Drop unnecessary wrapper _rtw_free_cmd_priv and move its logic to > > - rtw_free_cmd_priv. > > + Drop unnecessary helper (wrapped function) _rtw_free_cmd_priv() and > > + move its code to the wrapper rtw_free_cmd_priv(). > > > > I kind of feel like the original is better. Why would we want to remove > helper functions? Helper functions are ok. What we don't like are > pointless wrapper functions. The whole motivation for the patch is to > remove wrapper functions and that's what it does. > > regards, > dan carpenter > -- Thanks, Vihas