Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp8725rdg; Tue, 10 Oct 2023 02:37:23 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFFI4fsz1lN2syyT+D798OW0Y/Ukd4VBiNfZTFHkyfgXZQfiJCxqjtbXmF1Wh/r0r08YE5B X-Received: by 2002:a17:90a:ce8c:b0:268:fc26:73a9 with SMTP id g12-20020a17090ace8c00b00268fc2673a9mr13211299pju.40.1696930642711; Tue, 10 Oct 2023 02:37:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696930642; cv=none; d=google.com; s=arc-20160816; b=RrD/otEkZNzP+TdmqIWFHNlXlG3hdTAwPuRMFx7tmE4l6VyzkMsg4ragQE5/f8JI5w Hjj2ePywrCAbUUdf+qGBYzaeRgr+eHQrefGnVuGDtuODWgVpH2cJW4Rjg3gcs2BRsHB6 7jlGpniCUv43CJOVLtTs/CGfOaaiTA3b5acOuV+4hfWXur9KvlzMFMBV7iJRBfl3bkqj +tkBvHvZ9mQ6Nk+HKiC21IDt+3MdDfommyXd6F/GQFkJKt135LvLUPtJoEgG6pAIuRav hCm3wV0plkT9AVkIkbFQXW3KYlcP68oOIQjhSewXp+j4w63iYFnHIu5YANTO8pDRcbrf Z2Cg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=h+7Sp+Nctt+QTWrvypxowUN2q52OajvsMjizCJrbX2Y=; fh=eIWkzVS7wuzcc45EqTWHaOnHL+5YXSW6SEyyhD+u2Cc=; b=yIx0vsm6Dg9YOAC8duNNWQ+meCiP/LRyHZET95Jpx4ziUTBVvoA0GNtQRq0In3n6St 3Yvi3qwpBxd07OW1IM1k38ABTfl/XYxBL5ZlBa5QgpZph71tKxKzbb+EZTKwq0iMeVR9 KCMJW3GtMoMR0xio0ObUWSowrIjM/aAVcg8mfMNqI27qzfdQtRpxujGY915y5pRmDlS+ skSR12tOgFl0Fg9Xw2Ns7ImtZyKOUEkJ11/SNrhJIxqKF8oQbpI2uzw6eoLfdt5Ao1Ew wn4/P2SBGW9Ob0o+cOsDHWZdIab3WdUyVxa+2uq8y+xcdJiTUlQbq1lUc4dbBp8qxEqH Y7AA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id ls11-20020a17090b350b00b002746ab58dfcsi12607995pjb.18.2023.10.10.02.37.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Oct 2023 02:37:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 23C248029398; Tue, 10 Oct 2023 02:37:15 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230142AbjJJJgo (ORCPT + 99 others); Tue, 10 Oct 2023 05:36:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46126 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229516AbjJJJgm (ORCPT ); Tue, 10 Oct 2023 05:36:42 -0400 Received: from mail-ed1-f54.google.com (mail-ed1-f54.google.com [209.85.208.54]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A7BE194; Tue, 10 Oct 2023 02:36:37 -0700 (PDT) Received: by mail-ed1-f54.google.com with SMTP id 4fb4d7f45d1cf-5384975e34cso9660060a12.0; Tue, 10 Oct 2023 02:36:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696930596; x=1697535396; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=h+7Sp+Nctt+QTWrvypxowUN2q52OajvsMjizCJrbX2Y=; b=IgTIHrvsFGOhmjfmIkUX4QSmeKGxQx+GZM22JejJbS0NtNQhRRo+7EGtZFWSgyX7l+ VhBq8LLolMqPul3mddwM5xyTjT7hFadL17WY9oiR5v46z1Rce/LbDcxqf5H7AvCVzDB8 3/sG//oRTysIA4sWMkGRGKf4DVUifyagUPgHzm8YHux4O1OnRPgtkID+ELCsspoF6MHO +l698tdBaOY9kpNZishftL/lE5E8efpnf/qPd9FNbH1iikc0gl8SXx1+LTABO/Mi0Ah1 yTWDHMgfj+8SVEvWLfpU18iFpyt0xKl5HaUT0SFuUwAkPxvkCyAqMlf0v7trhlTuSfSk I+/A== X-Gm-Message-State: AOJu0YyUv+Rah3oIwlPQ+llE65yL++YIpebsdEI550rYp6rFqixTPrw8 ik0QaSrY+aidMuKp4J2VB+Q= X-Received: by 2002:a17:907:760f:b0:9ad:78b7:29ea with SMTP id jx15-20020a170907760f00b009ad78b729eamr15389940ejc.44.1696930595756; Tue, 10 Oct 2023 02:36:35 -0700 (PDT) Received: from gmail.com (fwdproxy-cln-017.fbsv.net. [2a03:2880:31ff:11::face:b00c]) by smtp.gmail.com with ESMTPSA id m14-20020a1709066d0e00b00991d54db2acsm8113285ejr.44.2023.10.10.02.36.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Oct 2023 02:36:25 -0700 (PDT) Date: Tue, 10 Oct 2023 02:36:14 -0700 From: Breno Leitao To: Jakub Kicinski Cc: jlbec@evilplan.org, davem@davemloft.net, pabeni@redhat.com, Eric Dumazet , hch@lst.de, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, horms@kernel.org Subject: Re: [PATCH net-next v2 1/3] netconsole: Initialize configfs_item for default targets Message-ID: References: <20231005123637.2685334-1-leitao@debian.org> <20231005123637.2685334-2-leitao@debian.org> <20231009193158.28a12cd8@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231009193158.28a12cd8@kernel.org> X-Spam-Status: No, score=2.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Tue, 10 Oct 2023 02:37:15 -0700 (PDT) X-Spam-Level: ** On Mon, Oct 09, 2023 at 07:31:58PM -0700, Jakub Kicinski wrote: > On Thu, 5 Oct 2023 05:36:34 -0700 Breno Leitao wrote: > > +static void populate_configfs_item(struct netconsole_target *nt, > > + int cmdline_count); > > Could you move alloc / free_param_target() to avoid the forward > declaration? (separate patch) Yes, this is a good idea. I tried to avoid the forward declaration, but I didn't find this solution. Sending a v3 with this change. Thanks for the review!