Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3685255pxb; Mon, 24 Jan 2022 15:18:49 -0800 (PST) X-Google-Smtp-Source: ABdhPJw6wcfIbxccd9uZ6+VkPZTBsz7GY6fyPJGODr7Arej9bWC7ToanwgHkfiQGghsC77bqQJmT X-Received: by 2002:a05:6a00:1a8f:b0:4bd:118:8071 with SMTP id e15-20020a056a001a8f00b004bd01188071mr15970090pfv.28.1643066329465; Mon, 24 Jan 2022 15:18:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643066329; cv=none; d=google.com; s=arc-20160816; b=BZvOmNYPUYE15zKzrthvzn/sXZs6gbdqt3oFmJNj7K3uoZ4xxOwmkS46RIaytvTptn mCTcsKRBteeV+4JjKtOM+fNE/EkN3TJ9Tx8ZGo4jPpi+x9RO9e8JshF1lM6SAOM6j4tr Ef1QuKAcX7PVopn/PTlKFyq5DsGjZXe4+bxunSN4r46rYln3LG4nRM9sAbo8UsnYu1+y h7YcsZhdxdpQZz7aQNgaMdMDmkv3rXQrJvdOB6AZbV573Z4WMec78LOfGOkH7r5j3g77 gWJbhm2MA3gB0T1gnw/HzS2huH+xxJt1x+he/JNgYhFHJ0MDtts/jcZFLOBdUa1flrDa 3jxQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=glXs8i8UueblUF6F3G6Bqzbl2T22nVRU17T04868yw8=; b=px2iHPz3EHTpen1t0xWHtiKLceCck5se9yCX+QArnQ3ju4sW+G1lbAbUi2BI3GH7+r E9oUSJqZSNtEHYUcNtOyTrPdX3XKDr+MGi9jLgC2VKBeMcsHwfV/ESS10WfspVCpOKX0 MeArUihZUjEq0T+d8VEhyXaV8rMQpJUrAWXDOtRerk+hh60TYpVH3IiJmXrM0IOQTl0v 5HkmFC45sr9FT0H8z47ElMGb3JeaI71ghIk3RJd3RTxPjwYG9m7BgO2Q1RvHZf0YKOFt y7wuYLBNXPOT4EnWGbgNsT8J4QGn/txCpHgTsO+T9Ad5zs7ZIOu1+UFIp3eiWtA6LoIV GXQg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=vWnKxo9w; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u13si15545655plf.186.2022.01.24.15.18.37; Mon, 24 Jan 2022 15:18:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=vWnKxo9w; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1846281AbiAXXPa (ORCPT + 99 others); Mon, 24 Jan 2022 18:15:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37650 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1584673AbiAXWVc (ORCPT ); Mon, 24 Jan 2022 17:21:32 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AF3B9C0424FF; Mon, 24 Jan 2022 12:52:46 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 4D83A60B1A; Mon, 24 Jan 2022 20:52:46 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 23FFBC340E5; Mon, 24 Jan 2022 20:52:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1643057565; bh=oU1yhBx4X3gpiRFYKACsx0VjucLmePk1ClNeD1aA/CQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=vWnKxo9w4U2i7vyFvhb6JlQwUStMkiS8/Is+uuAeXhro+Ff0/LMGQzqvKfOXmmPZP UNR35JpLQZfBaP+yg4aZTt2Pc53iyr/5rVRuoESqamQwxcFH6OjKTBFOnSS6SmTc3W Tadhy76ROLCfEk14z2GVG8sgjVZmhcZRBHqCTz1Y= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Leon Romanovsky , "David S. Miller" Subject: [PATCH 5.15 823/846] devlink: Remove misleading internal_flags from health reporter dump Date: Mon, 24 Jan 2022 19:45:40 +0100 Message-Id: <20220124184129.292263767@linuxfoundation.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220124184100.867127425@linuxfoundation.org> References: <20220124184100.867127425@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Leon Romanovsky commit e9538f8270db24d272659e15841854c7ea11119e upstream. DEVLINK_CMD_HEALTH_REPORTER_DUMP_GET command doesn't have .doit callback and has no use in internal_flags at all. Remove this misleading assignment. Fixes: e44ef4e4516c ("devlink: Hang reporter's dump method on a dumpit cb") Signed-off-by: Leon Romanovsky Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman --- net/core/devlink.c | 2 -- 1 file changed, 2 deletions(-) --- a/net/core/devlink.c +++ b/net/core/devlink.c @@ -8795,8 +8795,6 @@ static const struct genl_small_ops devli GENL_DONT_VALIDATE_DUMP_STRICT, .dumpit = devlink_nl_cmd_health_reporter_dump_get_dumpit, .flags = GENL_ADMIN_PERM, - .internal_flags = DEVLINK_NL_FLAG_NEED_DEVLINK_OR_PORT | - DEVLINK_NL_FLAG_NO_LOCK, }, { .cmd = DEVLINK_CMD_HEALTH_REPORTER_DUMP_CLEAR,