Received: by 2002:a05:7412:f690:b0:e2:908c:2ebd with SMTP id ej16csp452124rdb; Thu, 19 Oct 2023 08:58:10 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEpPpOfSimoimgxivsDcZsoJplRIm0GFu1/6n+ILNNiCcN4ypEYraaipmhu50H4C6yd0Cfr X-Received: by 2002:a17:90a:1c16:b0:27d:1376:3ae1 with SMTP id s22-20020a17090a1c1600b0027d13763ae1mr2657126pjs.0.1697731089992; Thu, 19 Oct 2023 08:58:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697731089; cv=none; d=google.com; s=arc-20160816; b=p33LPBcdEoWoHAU9AjPN2WeBUSk6Y9QYJZaDrfA6hRs1zamSw51BSpfW7irSyR/tgu KXSBot6qdavnM8ES0QdLFF6tEaUoEOVqwXG2/Xh8ffeqYGQFBajrveiyY5PF+8knpepK mA7BOWH4ZzC7blWxkzoZWWGJAI2JUijZrTZq7xXOKlqFDQAEysO+OBNtPTcXuSpSwtiv R5RfaC1PSmP51vDE7Fmxpt67mT2bxB6LLnKb0hIQf+PCj+tOMtOwjZbV0FxH3J/+651A t0UsuTJlSQo+pbF0c6r6ravDzygkHY+7Ub/Wqwefa4wEWZ9ipEs3sbmXi3jpRl/2sQKX UA2Q== 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=6gh6w6MiVyhvEKeImyEUUY2nFnvE/xqQID1WdQ1+hmc=; fh=H5TEBUPv0rBG5RLveLK6EPbywB5R2NeABwKkIz/9wik=; b=KtAxxC25TjalV/gcjQw45xuZvQwbYdsZEwTNYN9m/+P1x8704qwr8zLeae5+r9j+qe K6FSs6s42w7rIe1GowYWw4040bQWXiOKAMB8Rm6IBvLwoo0jswNSpIciv23BReJ+umEO vNHfRkxctOYUrZN8ozWpQ9tywFTTi7i0MXs6tQrAxTU/JHrKfF0IdnEkQ2OOsKQJvx21 zhdz6pVmGwLVYktPZSxe9twj75sYOFVqo9JKr9+pXyx5z7AK8xyFBc0/3mPGq2lzwFao Nn95ZWLSbdrou6Cz4ZR9anFOuAknOiv138EvjztXZRA2lFrBwsaedMTmV5IAcBLnkxMK rDcA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=vKlBFIoC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id x9-20020a17090a9dc900b0026b7f68f386si1685187pjv.73.2023.10.19.08.58.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Oct 2023 08:58:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=vKlBFIoC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (Postfix) with ESMTP id A90D08239E86; Thu, 19 Oct 2023 08:58:08 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346017AbjJSP6G (ORCPT + 99 others); Thu, 19 Oct 2023 11:58:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46704 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235441AbjJSP6F (ORCPT ); Thu, 19 Oct 2023 11:58:05 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2D4CA131 for ; Thu, 19 Oct 2023 08:58:04 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B4A2BC433C7; Thu, 19 Oct 2023 15:57:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1697731083; bh=QbLeNs0KiqyXx6KeGr1Tb+iIIwByM0EHeR9F194rjjM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=vKlBFIoCpi5yWke5RcXfIg5Ohs3onH/zaAVO8Hk8c21Qfo23jt84Fb1VwRj1F/X0f zJd+GDFQX3EJN+s/Az6KyFNfnfz0+TSH5aOtoiV9guL29vwwmzdTqJsYTytLIfI9bJ /UG7Yo+hianYE1TLm5kYSocz+IsQmoCggqibzkYASJHLyQoxugkwoq1f8Niz2KLWt9 qge4qeri4t4JAfv355ci1Vd7hbS3b8otUPtiFq0vHsiK+7scAz3hyNycSZZVwi+085 bTWM2OFaCLYxqtkRjxd+c6L9GEgJvIWA0HIGAkAwRk6GZ5gFTSxv6DkHVbQ/TsKXTs bv0esuCnmwLrQ== Date: Thu, 19 Oct 2023 17:57:55 +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 07/11] mlxsw: core: devlink health: use retained error fmsg API Message-ID: <20231019155755.GP2100445@kernel.org> References: <20231018202647.44769-1-przemyslaw.kitszel@intel.com> <20231018202647.44769-8-przemyslaw.kitszel@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231018202647.44769-8-przemyslaw.kitszel@intel.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Thu, 19 Oct 2023 08:58:08 -0700 (PDT) On Wed, Oct 18, 2023 at 10:26:43PM +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 > Signed-off-by: Przemek Kitszel Reviewed-by: Simon Horman