Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3FB7AC636D4 for ; Thu, 2 Feb 2023 18:17:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232024AbjBBSRR (ORCPT ); Thu, 2 Feb 2023 13:17:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54378 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229667AbjBBSRP (ORCPT ); Thu, 2 Feb 2023 13:17:15 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CCFBD1CAF5; Thu, 2 Feb 2023 10:17:14 -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 6684361AFB; Thu, 2 Feb 2023 18:17:14 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8D194C433EF; Thu, 2 Feb 2023 18:17:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1675361833; bh=5YkmJrXYVkNqt2vA/VvnKqVoH5W4bKpdyc2sw2XOyoU=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=YdVxYmR9J3ZxhkYSqfPvZHo8R97hPIGMBlxgdaJYrkh5mcPzsDwcdw43VHpVIC76G W/qycts1rcehcLxZmtRsp1jeqnbknxE+crHCsA9XJ5dNDBSy2NqFjsVLKJPx32IVfs L5+dA6C11PwHTh5h+6wwubv+K+uSZe5qaK/cDqVZCswi9hPQu4S+yGmiQtZntkWscJ AbauW0Aq1Q7ydyhlRv0tV5pspdAJUEZCm4zLbN+gJs2bNqb4DCWWHhEGJreM/m1q6S EPpjb6vGuRgHd5VNapSBkGk4mo5jZrgJ13Yjpnsf2nv9+UVZQGdYETbGToRYDjOhfn S5qUcVzXfd6RQ== Date: Thu, 2 Feb 2023 10:17:12 -0800 From: Jakub Kicinski To: Moshe Shemesh Cc: "David S. Miller" , Jiri Pirko , , Subject: Re: [PATCH net-next 7/7] devlink: Move devlink dev selftest code to dev Message-ID: <20230202101712.15a0169d@kernel.org> In-Reply-To: <1675349226-284034-8-git-send-email-moshe@nvidia.com> References: <1675349226-284034-1-git-send-email-moshe@nvidia.com> <1675349226-284034-8-git-send-email-moshe@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2 Feb 2023 16:47:06 +0200 Moshe Shemesh wrote: > Move devlink dev selftest callbacks and related code from leftover.c to > file dev.c. No functional change in this patch. selftest I'd put in its own file. We don't want every command which doesn't have a specific sub-object to end up in dev.c, right? At least that was my initial thinking. I don't see any dependencies between the selftest code and the rest of the dev code either. WDYT?