Received: by 2002:a05:7412:f690:b0:e2:908c:2ebd with SMTP id ej16csp451574rdb; Thu, 19 Oct 2023 08:57:16 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFQn+TLLl/n9el6BdlHSFWX0k0C9JrgFmvW3Iv2ZYaqiVlnMPJTz3z/wZ71g5hupHxqEQrc X-Received: by 2002:a17:90b:360e:b0:27c:f8e1:7506 with SMTP id ml14-20020a17090b360e00b0027cf8e17506mr2346092pjb.22.1697731035951; Thu, 19 Oct 2023 08:57:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697731035; cv=none; d=google.com; s=arc-20160816; b=PIZFwD4O8u3+JXoCwz6j0GPOkkhiucbniKmqqmshLH+Y9ABPdE5QIzeL0JAd3qDL2p +9owB55QY85IJEQpqYWxjK9AAzszZmKJDiuEeYXSyrEbVRr3mOCZpHk6mRikTTGC56+R sOiXqoxApOKE+Mc1iz9QYqm3szL9jVo3csYvLbZ1szbtSMEGACd8IbdCRBlCec2+FJsl ZCSopvMRPRF7hPbUnqfp8eJ5rtbDQPylEbVW2dFoVMr9m2CKZouDPGWc5mqIO1bEHCTl ZLb+W6Bu+7/jXVSTfDn7rRFwtwRH6Gg7R/uOwlFknzdHUMeuF6DwWnRQnPLfRpdLHK6B rwTQ== 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=iQTMuSyTc4v0fD8q0SW6jLdg4BPUy2o9uLoHfk3cxPU=; fh=H5TEBUPv0rBG5RLveLK6EPbywB5R2NeABwKkIz/9wik=; b=M9bdp3dHZWrh7C9B50mVd9/Od9QYlDN7EGZjk0UTR0p8KZKtguhCFWqEtUi9vG15+b +n3utTrTI9ljUPwitnbOK7u/9f54+zQ2Wubn8iPafIu8nrBCppXfQMVvYnSmMaR7I5jO 6AmMLy/FB/5tjckvZwq7JWxgr1NU6tkRP2iYqXW62TQXxAINj6Guas5VY5aP8neFmjfV fMOxmriYvSudhz7+A8ApfzWCBemouhVFiMVdGSAee6/W/FmroF5T9acIM1QXJW0qvZCN bXzCkVrts3H1fa8iDDiYCt3uM/hkGlVvsR8w7YeTk26o4jR9MStTT8Wf6JyMqgbZoDYA 5hRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=VmD34wR3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id bv123-20020a632e81000000b00585a6bdce46si4770500pgb.308.2023.10.19.08.57.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Oct 2023 08:57:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=VmD34wR3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 4AD9F83B7A9E; Thu, 19 Oct 2023 08:56:53 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346368AbjJSP4r (ORCPT + 99 others); Thu, 19 Oct 2023 11:56:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45668 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235446AbjJSP4p (ORCPT ); Thu, 19 Oct 2023 11:56:45 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7C383126 for ; Thu, 19 Oct 2023 08:56:43 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 074C0C433C7; Thu, 19 Oct 2023 15:56:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1697731003; bh=rLFX+s2O+tW0FG+THB3E0Pp6DC9Rjnvm7HtdIPrub84=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=VmD34wR3T2iKDJzNl4Dd2r4N++gGgsb9N0Y8pwP209fU2QjNBoXiRFNntjm3ZyfuG BwHSJILDi29/a42OmlK7STtKOFOka6dGUrSt+beMcJkfYJia9wTTj8KUcC4i/uCqWU hbC7vXn5dA3x9zix6+lUJiH7VMFTv5TImKQ+WfS1Ev/C8iCQJKzQbOYUS5jPBWMNzX 3GMpvJ6QTIjxSqlih3MOD0XoBeo0dXJwtkydp2pyUiroEYuikO4AIJXy3GxMlyzBzd z9OgpsTvgfASkmWuptn+deZ17v5VQhIovid8V+3NKhqTqja1PnGZALdozMNi7LWHMO 2zJ3L4e5G92Ow== Date: Thu, 19 Oct 2023 17:56:34 +0200 From: Simon Horman To: Przemek Kitszel Cc: Jiri Pirko , netdev@vger.kernel.org, "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Shannon Nelson , Michael Chan , Cai Huoqing , George Cherian , Danielle Ratson , Moshe Shemesh , Saeed Mahameed , Ariel Elior , Manish Chopra , Igor Russkikh , Coiby Xu , Brett Creeley , Sunil Goutham , Linu Cherian , Geetha sowjanya , Jerin Jacob , hariprasad , Subbaraya Sundeep , Ido Schimmel , Petr Machata , Eran Ben Elisha , Aya Levin , Leon Romanovsky , linux-kernel@vger.kernel.org, Benjamin Poirier , Jesse Brandeburg , Jiri Pirko Subject: Re: [PATCH net-next v3 03/11] pds_core: devlink health: use retained error fmsg API Message-ID: <20231019155634.GL2100445@kernel.org> References: <20231018202647.44769-1-przemyslaw.kitszel@intel.com> <20231018202647.44769-4-przemyslaw.kitszel@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231018202647.44769-4-przemyslaw.kitszel@intel.com> X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.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 (fry.vger.email [0.0.0.0]); Thu, 19 Oct 2023 08:56:53 -0700 (PDT) On Wed, Oct 18, 2023 at 10:26:39PM +0200, Przemek Kitszel wrote: > Drop unneeded error checking. > > devlink_fmsg_*() family of functions is now retaining errors, > so there is no need to check for them after each call. > > Reviewed-by: Jesse Brandeburg > Reviewed-by: Jiri Pirko > Reviewed-by: Shannon Nelson > Signed-off-by: Przemek Kitszel Reviewed-by: Simon Horman