Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3668628pxb; Mon, 24 Jan 2022 14:56:11 -0800 (PST) X-Google-Smtp-Source: ABdhPJxYbQ5UQbPaQPS2AP6r1jiDdQgCebod16x2PZX3/KKAf9LO2S4G7c3ZMD2R7gSDmd1tgW8K X-Received: by 2002:a17:90b:1b0e:: with SMTP id nu14mr525054pjb.39.1643064970933; Mon, 24 Jan 2022 14:56:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643064970; cv=none; d=google.com; s=arc-20160816; b=mK5yB/LVhj/94VLC1dKiqSApN3ZZ/39MUQU+PsOHcrPxaNLvdG9mMeO1dsbUi9axQI FeV1NOsejuVh5eQ+sY2Zx1zJPz4fWli0JKeCLQKV1oE9mAjGUBImSpJLkjq2ZdWL1hxA a/SYxpgA/HV7wEXFpsnpyGN6Uok6l1qvEGYb/swR8mI0hEi5D4A8+1t+Zkt34qZFjVx4 NLGEQ3n56hw1tA+wFBpXnARkJS3hAEaqfOKe9CHTxNGtlpyHZhfWC7fP9zRcYXxxuraQ uG69LioRTTkPTd9EgJlCPKxiSf8aPjih13Tg50zHNv+iusQBXFigsOSc2fb4CzQQIg4H r1zg== 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=we4dB2+TKPv+bND4Wqq/8C1IlHfzUtKwkHW5rpHJr8M=; b=XMhoWOchzn2q+yMniW2kamrnNGkmmIazpqHDxuARMw3idXjso4sjh1yHBxXfQz5hBi pa4jh2VtEKETzJgQ1RaTXw4yrBBXI9jKY5y9CdGGBvWaY2DeKmGsypWdRHwpJpsK0uN1 kUx1Kvk1WrMx0KQtek7JlQlmpA+1tBMl+dzdA7qL+7HU06qTsKMiD33nSxtOPKqQUXJ9 n05TeWBjeSRs2Ao9o7apuTUswW3htbFzA6KxaYpMwVlAD0B9gPrPw2mlC3IXJQdXGFwK 5iHs0rrfyeYQ8Fb3exyYb7s52D/Lp9wq97cin/KszVlYvVVP5BeW+pIoiTnMd/vxUoQQ HQzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=1agiTswl; 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 134si15571493pgb.40.2022.01.24.14.55.59; Mon, 24 Jan 2022 14:56:10 -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=1agiTswl; 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 S1839951AbiAXWwQ (ORCPT + 99 others); Mon, 24 Jan 2022 17:52:16 -0500 Received: from dfw.source.kernel.org ([139.178.84.217]:33010 "EHLO dfw.source.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1445470AbiAXVnh (ORCPT ); Mon, 24 Jan 2022 16:43:37 -0500 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 90CB46150B; Mon, 24 Jan 2022 21:43:36 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 69CF2C340E4; Mon, 24 Jan 2022 21:43:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1643060616; bh=F0Fefbr5CTrGbQwVRWajkOardZ0wutxowsrDiXU7x6M=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=1agiTswl8NpVBX90LJm7fjUXvboe2qqPr/PsxwO2P3UtiwyATfwYs8t96lATbSuR6 DXPvcgPAUz5LsROFRvLDYgc37RtGfxz0tMzxv5/EzFOVipJxg5UNnVwt1AhcpfS6f+ YKzLItPliJ17eSicmb5kdtpCBHvxBqoypVMd9ZtQ= 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.16 1006/1039] devlink: Remove misleading internal_flags from health reporter dump Date: Mon, 24 Jan 2022 19:46:35 +0100 Message-Id: <20220124184159.107965939@linuxfoundation.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220124184125.121143506@linuxfoundation.org> References: <20220124184125.121143506@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 @@ -8840,8 +8840,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,