Received: by 2002:a89:48b:0:b0:1f5:f2ab:c469 with SMTP id a11csp392339lqd; Wed, 24 Apr 2024 05:54:55 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWkQtU5IO0QuG+yneLkmyq3rF4lgG4jvypwxXI01UbfUD+w8g/OZVF3cBSMMKAOwlZrjSwgxtZZ1zqeQmli9v9GTzsCHh48C3KUbA/fLg== X-Google-Smtp-Source: AGHT+IHuhvbU+5A3YTnRXvgLtdSFJdEcNZjtpzxBBPV4zaekH+e38Ku1qidI8C+eVIFDWLZQxhMf X-Received: by 2002:a05:622a:4b16:b0:437:b6a1:de30 with SMTP id et22-20020a05622a4b1600b00437b6a1de30mr2474425qtb.12.1713963295280; Wed, 24 Apr 2024 05:54:55 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713963295; cv=pass; d=google.com; s=arc-20160816; b=Mw8tfLTXc1rPtpT4WrcBEiY+GJpjf8Bdzo01Qf/dAqPsqSSWT0k6CiCdQFmo+4SpPb IaKADXnkUOvnJ8nPUYPQFEK5/4cI0SkNhB2CLEaSHnp0kaBZ6sgkyX8OzJM5neOoQ03B bmdvxax+iNiL8Y3zX7pO1N0SjzOf37JSe1Fj0PaJT2Hoin5eeeDbRwErrti1+REJQz8+ zcrpbczQJwEeq8ymL1HekY/xiY033bkyXCUNqTPWUB+PKj3HagpqIQXhcjOBb981HJpc rLSzGP3wGJb01H1Jn40a4tHF9V0WgWNeiVTobKELTDMtC1RP9NZApvfGmG6n/VXiLye6 eLdg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=d0Pxm+1tZuUdnyXEvb/Xl/DKsusn/NHIXIEp2Rw6g/4=; fh=5oY0krtCymjjjQMyjY503/eNFyDeulKewpWo0YKJ8vI=; b=IRwQFO2BAOcGb0J0mC3/b6r5yMx33wLQ7Gk7PzOhO3/Xga4lJ3EdlrxvtMY/0k584/ YBLvemtLx6/nEc/Xee2u6CMbgRG3/5Q2Vj/oj5Int3HyztJDYsPfRiNYZnlZR/v8goqm bl9tajhCrJCe16xdCrEiRWTHSNf0y9c57Ne9ZBKU65EyAnvO+KjfxztqfvYBW2FLQKPp /h4/J1TZtvNr+Q/0n0N8t4e7a8lghtYuHvV+f3xBVkUo/ZVUDlYYLqKFkJLpamjyBt2j 8AdRbjNXDuOpPXkfu/JNjiN8Wpcu8VEwD4MuE2ELUYM8G0eKUtij6MDY9e9LQtLlnBEg 94KQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@fiberby.net header.s=202008 header.b=D2kdgSKP; arc=pass (i=1 spf=pass spfdomain=fiberby.net dkim=pass dkdomain=fiberby.net dmarc=pass fromdomain=fiberby.net); spf=pass (google.com: domain of linux-kernel+bounces-156905-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-156905-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=fiberby.net Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id bs22-20020ac86f16000000b00439e77baa55si4506603qtb.134.2024.04.24.05.54.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Apr 2024 05:54:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-156905-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@fiberby.net header.s=202008 header.b=D2kdgSKP; arc=pass (i=1 spf=pass spfdomain=fiberby.net dkim=pass dkdomain=fiberby.net dmarc=pass fromdomain=fiberby.net); spf=pass (google.com: domain of linux-kernel+bounces-156905-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-156905-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=fiberby.net Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 0885D1C246B3 for ; Wed, 24 Apr 2024 12:54:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9C35A15D5BB; Wed, 24 Apr 2024 12:54:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=fiberby.net header.i=@fiberby.net header.b="D2kdgSKP" Received: from mail1.fiberby.net (mail1.fiberby.net [193.104.135.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C49D515B12E; Wed, 24 Apr 2024 12:54:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.104.135.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713963250; cv=none; b=Oln61OYMYYIRwwmO5NdZQkm5yZDMYgD1HQby6GkmQmZyedjZcq23iUqMiF4hLbO11G3OVmzADnyK+uxVnwx8fxOVTvw3NuSMMA1fCurv5PHUUnrI4nRkKIumb3C64MawI4JMhRwWPxi/Y+JzBhP4ji5dlGFnhn5VM5WhtMuKJ0M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713963250; c=relaxed/simple; bh=spHRJnpxm4ltwTrNamDMm3cZ/Ft8kFmxS/nYJAtGSYE=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=gR5TPDys/t3s2FR5161qASE8EElgVnRoDcjXdfg4fk4JkBg0Ql3tax0hl4yvP0ZNBbH2pw15NkPpmHGll+uzSKYlpLcLrXJxK1C7PXC05cnDxfsOPc6FieXgUI1bIOS7pIZs5dOWRUkrjEQxrHyO+Hdtoul+RmZNRenbhnFTM3I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=fiberby.net; spf=pass smtp.mailfrom=fiberby.net; dkim=pass (2048-bit key) header.d=fiberby.net header.i=@fiberby.net header.b=D2kdgSKP; arc=none smtp.client-ip=193.104.135.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=fiberby.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=fiberby.net Received: from x201s (193-104-135-243.ip4.fiberby.net [193.104.135.243]) by mail1.fiberby.net (Postfix) with ESMTPSA id 6F806600A9; Wed, 24 Apr 2024 12:54:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=fiberby.net; s=202008; t=1713963245; bh=spHRJnpxm4ltwTrNamDMm3cZ/Ft8kFmxS/nYJAtGSYE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=D2kdgSKPgFdZlyIJQptx7LcQcJe9l2CiJRu/gkXZzQxJmCRCPXYiuRgLgXszHI9qW jOgaNAlvOxtuZpVsK3fM7Y/dRXdFf0uOKtTXSR+hgHH0rRIQ86o/9Ic2GyN1392oS3 VyNAhpH+qSVr5iAr2L/z1HmgtCHUbAxYCLRWcz+8SOEFqxdqpOnVt4S/zAe0J/QCTz SkcbRCZTV3KbLK8Ls76sE+dU17VeHmpJb/pNIIrulZZNd7Dgcuk3RUI3UMuGy1tSrU CIn5GkqEhf+zefv7y7YgogADjbOYl2gigxsOURMoegAMHcCX6gZsV6BndbigXEmWPt cAbqPKV8qO6ww== Received: by x201s (Postfix, from userid 1000) id 1C6DE205831; Wed, 24 Apr 2024 12:53:52 +0000 (UTC) From: =?UTF-8?q?Asbj=C3=B8rn=20Sloth=20T=C3=B8nnesen?= To: netdev@vger.kernel.org Cc: =?UTF-8?q?Asbj=C3=B8rn=20Sloth=20T=C3=B8nnesen?= , Horatiu Vultur , UNGLinuxDriver@microchip.com, "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , linux-kernel@vger.kernel.org, Jiri Pirko , Simon Horman Subject: [PATCH net-next v2 1/3] net: lan966x: flower: add extack to lan966x_tc_flower_handler_control_usage() Date: Wed, 24 Apr 2024 12:53:38 +0000 Message-ID: <20240424125347.461995-2-ast@fiberby.net> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240424125347.461995-1-ast@fiberby.net> References: <20240424125347.461995-1-ast@fiberby.net> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Define extack locally, to reduce line lengths and aid future users. Only compile-tested. Signed-off-by: Asbjørn Sloth Tønnesen --- drivers/net/ethernet/microchip/lan966x/lan966x_tc_flower.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/ethernet/microchip/lan966x/lan966x_tc_flower.c b/drivers/net/ethernet/microchip/lan966x/lan966x_tc_flower.c index d696cf9dbd19..a63b83fa2823 100644 --- a/drivers/net/ethernet/microchip/lan966x/lan966x_tc_flower.c +++ b/drivers/net/ethernet/microchip/lan966x/lan966x_tc_flower.c @@ -45,6 +45,7 @@ static bool lan966x_tc_is_known_etype(struct vcap_tc_flower_parse_usage *st, static int lan966x_tc_flower_handler_control_usage(struct vcap_tc_flower_parse_usage *st) { + struct netlink_ext_ack *extack = st->fco->common.extack; struct flow_match_control match; int err = 0; @@ -80,7 +81,7 @@ lan966x_tc_flower_handler_control_usage(struct vcap_tc_flower_parse_usage *st) return err; out: - NL_SET_ERR_MSG_MOD(st->fco->common.extack, "ip_frag parse error"); + NL_SET_ERR_MSG_MOD(extack, "ip_frag parse error"); return err; } -- 2.43.0