Received: by 2002:a05:7412:f690:b0:e2:908c:2ebd with SMTP id ej16csp360583rdb; Thu, 19 Oct 2023 06:45:20 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHvrci6sLkQ5nOz1pAxqlz7iKA9VEElnRF4Y8ankV4ZJebUQ1bIip+C/RFkvo7f0QSkbnM2 X-Received: by 2002:a17:90b:1bcc:b0:273:ec96:b6f9 with SMTP id oa12-20020a17090b1bcc00b00273ec96b6f9mr2089077pjb.25.1697723120031; Thu, 19 Oct 2023 06:45:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697723120; cv=none; d=google.com; s=arc-20160816; b=lBwvKCLfTyfAJDqC16e+hh1G2AmtcZHBl3aUaxqEgeTItZlBsFtceMQNc2zvI5NoTd pupO0dvMKTeKrnghKeAgDs4MaVuAVOBN1TiKjtMFO/2NbOzDe38W9MEGs+dXZqrg1895 FjDAmnKUuUlZBl+Gj37nuMNPfC3yUD8wjxfYtV/Wzfgu19QJ8h+p2ekg1u3Tr1+VrXUm xHirSQ34CoDYrxOuM7z2/2Snu7tdb47bYjk3PoTt7yyBSuqqJW7AWO/ozWxLUcd67CsG gG6w9LYcqNFu0iOhyyLReCUEl2+1W/xOICIldTy5fLAKKqBdYPRnKLRcJOBCSeYaD1IF bieg== 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=cDIa/2A+6yZh839uWJwLCiFpvbLP65/3nH2vhPGAYh4=; fh=knNiA/HQw6O0N5BQK622W/5L0/RFr2uHvQfniLIdcZY=; b=pWLO1XMsK+y+rlB8f8vZ2Ig7TRqHpDCrevhwjOumvJEiMBwx9TWpWc7SkfmZhy6Mvi 2vuvDu56Qtlid3dJZUG05P5VQ/qNORJM3xESqhtHzXaZJPgIED6psTNreOHnfgB1Fzb1 B/z9iTqYU/FiBZNVYHIHA8fX7kjs4cWVm/dvt5TtXXoiPBWJH8u+1J0kcdXIwrKEqXto IG7GQ7pohPr6ChdPPVf1osAAl5I3OwJpsnjaLlZrYad/MYNW0R+FJDfZ8pSYLN2S2Gv0 grrA5TTCkwNccjf9Khonybshyy8reAA7Eej7VVwEfN532friSydEIPWZiex9zQ1mz2eu 6JXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@resnulli-us.20230601.gappssmtp.com header.s=20230601 header.b=R2o4Sha3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id nh7-20020a17090b364700b0027d4901b0b1si2103570pjb.82.2023.10.19.06.45.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Oct 2023 06:45:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@resnulli-us.20230601.gappssmtp.com header.s=20230601 header.b=R2o4Sha3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 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 6EAA681BB188; Thu, 19 Oct 2023 06:45:07 -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 S1345730AbjJSNox (ORCPT + 99 others); Thu, 19 Oct 2023 09:44:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59028 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235397AbjJSNow (ORCPT ); Thu, 19 Oct 2023 09:44:52 -0400 Received: from mail-ej1-x631.google.com (mail-ej1-x631.google.com [IPv6:2a00:1450:4864:20::631]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 73BFA126 for ; Thu, 19 Oct 2023 06:44:50 -0700 (PDT) Received: by mail-ej1-x631.google.com with SMTP id a640c23a62f3a-9936b3d0286so1288178566b.0 for ; Thu, 19 Oct 2023 06:44:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=resnulli-us.20230601.gappssmtp.com; s=20230601; t=1697723089; x=1698327889; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=cDIa/2A+6yZh839uWJwLCiFpvbLP65/3nH2vhPGAYh4=; b=R2o4Sha3hypVKhADo2600rPDKSwklCwGpqqzQf6GpQor/iTdGH8kr7Y1rZ9HRIPQNG J/GV7VE9tAolUmBwvuLt63IqRCyMMfEqJkzHYuiBom3sLS7D9kkd2Mmd82XdE0AsPbbC 22NFp47iXO1wrVGr0f86zARYiLsuIQvKL8D23hsFK8EjWbSOCXBNqBaadRbQ1L/gZkJa Mw92KX0bwrLhgxLwaasEQ+LQ/5p7ToBqftiFG6DG1of30dEngCSPpQef2flmZ8zaiw6B UGY6t29UPmM4XbRk4pdB0g+sxtwi7LkEkr2hIqqbBPNNqfhu+oIqgZE9T/Itv6MNmjyy UX+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697723089; x=1698327889; 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=cDIa/2A+6yZh839uWJwLCiFpvbLP65/3nH2vhPGAYh4=; b=YmqzFIF6XKjQVFZteUgD1ETwiS6tFLzLZiig4NayWrfmmByzQLB+dw5BbcXbYxobzU pTMYscMwM3wIUttISzxleJs5AR85nRoviIKsWzOgY4dh9J7pIeZrp/eaVaIvcQ903qAq vX5t4cGFsR1Y36NBOSl25Scup0CGZQHXFBd4Tq9w93IsRMq8r+3rKlz7MJay9nTil2BS Txwk0/AH0ushzKb4LIPrvlVSsjaM55hf5Lojd/ktK7Ey6KvBPKYUowx5Y//5UA+Qi90d 538gEHugV5tz4vlTpHWBcLdGA5Et0QpuJf72yfYIhzVN8dy4QGaV4YQnioW+iWri6LGi pYaw== X-Gm-Message-State: AOJu0Yz/DzRkvSEcH682bk7MikTp858QxqMbX1mhkwVdu154ISzndZmX KM3hBJbPkHn/q/wd3QEJaiUyXQ== X-Received: by 2002:a17:907:2dab:b0:9bd:a063:39d2 with SMTP id gt43-20020a1709072dab00b009bda06339d2mr1859239ejc.16.1697723088637; Thu, 19 Oct 2023 06:44:48 -0700 (PDT) Received: from localhost (host-213-179-129-39.customer.m-online.net. [213.179.129.39]) by smtp.gmail.com with ESMTPSA id c15-20020a1709063f0f00b009ae6a6451fdsm3624414ejj.35.2023.10.19.06.44.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Oct 2023 06:44:48 -0700 (PDT) Date: Thu, 19 Oct 2023 15:44:46 +0200 From: Jiri Pirko To: Przemek Kitszel Cc: 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 , Simon Horman , 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 Subject: Re: [PATCH net-next v3 00/11] devlink: retain error in struct devlink_fmsg Message-ID: References: <20231018202647.44769-1-przemyslaw.kitszel@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231018202647.44769-1-przemyslaw.kitszel@intel.com> X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,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 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]); Thu, 19 Oct 2023 06:45:07 -0700 (PDT) Wed, Oct 18, 2023 at 10:26:36PM CEST, przemyslaw.kitszel@intel.com wrote: >Extend devlink fmsg to retain error (patch 1), >so drivers could omit error checks after devlink_fmsg_*() (patches 2-10), >and finally enforce future uses to follow this practice by change to >return void (patch 11) > >Note that it was compile tested only. > >bloat-o-meter for whole series: >add/remove: 8/18 grow/shrink: 23/40 up/down: 2017/-5833 (-3816) > >changelog: >v3: set err to correct value, thanks to Simon and smatch > (mlx5 patch, final patch); 2 nits: - always better to have per-patch changelog so it is clear for the reviewers what exactly did you change and where. - if you do any change in a patch, you should drop the acked/reviewed/signedoff tags and get them again from people. that being said: set- Reviewed-by: Jiri Pirko