Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp923895rwb; Wed, 26 Jul 2023 05:14:43 -0700 (PDT) X-Google-Smtp-Source: APBJJlEYI+NTx6INEw50ycoFPovUyCUuHKyTSEdq1O0Ktv2rMG/1SNQa/6QDsxqxNn6CVpUVso0o X-Received: by 2002:aa7:d8cf:0:b0:522:28b4:11f2 with SMTP id k15-20020aa7d8cf000000b0052228b411f2mr1446366eds.3.1690373683477; Wed, 26 Jul 2023 05:14:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690373683; cv=none; d=google.com; s=arc-20160816; b=prjudKkmaQg5LuIrL6fleXZ9JWLzIj1HpWhhylUaPaMrCoUfoCGRRcMT6Xo211F7Fe PxqB74wJfQfhFqg/QZB0UoetW16wynh52mffcqQNQugirn9uRVBzJwGwMlU0JNIaUw68 fLLTwb1HaaEIJzw2uihjWGypamiZa3cFolrKoIRSyEt8HRWrFzdH/Q4ycXY83HzLCebP K66hWVLxunD3AhWHT41z01WXA2JwO4cyjeOedfHoSKVBDPhRf9b4D5+AYCMHIq49RZ2U M3kRqdzN6cZwvRYaX0u1C+IPVHR+P1a02NGrjWdD+Ue+7hbb6oGlAzIOZpe62buj/awU BfJg== 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:dkim-signature; bh=WSmSqYFM4F/yuY1MA1BQftiylq1/Rhjvj2eATZ8h4fI=; fh=amR2JqpH911Tb/jYZKp9EdNzV7oRqoSTjGoCtnAUH4I=; b=B7L/7LvgAJXS5144RUXfTY/YLGXF2hsVQletut9oAOK1bKj7B2WWi9E58FtpK2NpLY BnZz/pV3Dn9JL+VHQXIt/OO9bhMNU6s4XswIok58FtUAsMqlep6jbLNwc9DRjzOF/Mb0 K07EuXqlxlLKiIXg2r2ERGiVu/hs4Lc43AFUGJUyKw3hZudbuM6FMhh6Pam0SZzkuJeg 3NEMDpdbfETYgl5LYEA9z1j4KZFCug7LcfGqQ3r3yzxkMK4rsXaDeQWY2EEU3hRnkzjQ nmNKX5e4scMxD8MNE3cFyka1WEhvQNvo7vy7HIunEWQKFmOkRBSQygpgNkZlLElfVJFb m8hQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="Xob9Gc/c"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i17-20020a50fc11000000b005222b2ccdd7si4891050edr.433.2023.07.26.05.14.17; Wed, 26 Jul 2023 05:14:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="Xob9Gc/c"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233842AbjGZLdO (ORCPT + 99 others); Wed, 26 Jul 2023 07:33:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33550 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233850AbjGZLcw (ORCPT ); Wed, 26 Jul 2023 07:32:52 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5F318BF for ; Wed, 26 Jul 2023 04:32:49 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id E336161AA2 for ; Wed, 26 Jul 2023 11:32:48 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C4AB8C433C7; Wed, 26 Jul 2023 11:32:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1690371168; bh=UCA/zUEUlPK15DIXEbNn3z5Vb1Gy3GK4OStI8Ik/d2Q=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Xob9Gc/c6cn2oSecJNvZOs1+fENSRgcpXx9dnUov/fI3/5uD6hcbZh3eQjGc+InFt wgTqR//YwWmltumg5cqjMX//RXWSgwhp6IuBIo/aeZIdfGzMijXNTEqsNfoQKV82kH qNjj+OcQCD3gZLnsCWrgtKy/PunC0CSUlkfn24aw= Date: Wed, 26 Jul 2023 13:32:45 +0200 From: Greg KH To: Wang Ming Cc: Jay Vosburgh , Andy Gospodarek , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, opensource.kernel@vivo.com Subject: Re: [PATCH net v5] bonding: Remove error checking for debugfs_create_dir() Message-ID: <2023072633-backpedal-hunger-0a2e@gregkh> References: <20230726112913.4393-1-machel@vivo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230726112913.4393-1-machel@vivo.com> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham 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 On Wed, Jul 26, 2023 at 07:29:00PM +0800, Wang Ming wrote: > It is expected that most callers should _ignore_ the errors > return by debugfs_create_dir() in bond_debug_reregister(). > > Signed-off-by: Wang Ming > --- > drivers/net/bonding/bond_debugfs.c | 3 --- > 1 file changed, 3 deletions(-) > > diff --git a/drivers/net/bonding/bond_debugfs.c b/drivers/net/bonding/bond_debugfs.c > index 594094526..a41f76542 100644 > --- a/drivers/net/bonding/bond_debugfs.c > +++ b/drivers/net/bonding/bond_debugfs.c > @@ -87,9 +87,6 @@ void bond_debug_reregister(struct bonding *bond) > void bond_create_debugfs(void) > { > bonding_debug_root = debugfs_create_dir("bonding", NULL); > - > - if (!bonding_debug_root) > - pr_warn("Warning: Cannot create bonding directory in debugfs\n"); > } > > void bond_destroy_debugfs(void) > -- > 2.25.1 > Hi, This is the friendly patch-bot of Greg Kroah-Hartman. You have sent him a patch that has triggered this response. He used to manually respond to these common problems, but in order to save his sanity (he kept writing the same thing over and over, yet to different people), I was created. Hopefully you will not take offence and will fix the problem in your patch and resubmit it so that it can be accepted into the Linux kernel tree. You are receiving this message because of the following common error(s) as indicated below: - This looks like a new version of a previously submitted patch, but you did not list below the --- line any changes from the previous version. Please read the section entitled "The canonical patch format" in the kernel file, Documentation/process/submitting-patches.rst for what needs to be done here to properly describe this. If you wish to discuss this problem further, or you have questions about how to resolve this issue, please feel free to respond to this email and Greg will reply once he has dug out from the pending patches received from other developers. thanks, greg k-h's patch email bot