Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2294787pxp; Mon, 21 Mar 2022 16:08:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx25T8tKp1Sgx/SVlnbRGe+ytvktY+OhLEHa3f+IsoOfPSapAFJbhVlZ4JM+S9FYPk+8mpE X-Received: by 2002:a63:28c:0:b0:380:9751:8135 with SMTP id 134-20020a63028c000000b0038097518135mr19444166pgc.576.1647904111811; Mon, 21 Mar 2022 16:08:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647904111; cv=none; d=google.com; s=arc-20160816; b=Wc4vqUr7MYKGAsRtqHZzQpaa/Pv6T9zzDL+KUJI31fJ6ehSg59BHQ3WDXx2V5Q4WZY Icpl3af9zgsIxfbFgmvU3XMAELHdn/kHTvz9tYqqRZzo953mZbEpUrCwPYRKciI+8rQb NzRhIFFlVpnHn6bI6K9c8kRlRunuwqtazNby9G+1sAJODRSUfzH1zvKX4PZx975rAxXr kElsVGEtm/3wpQi3nUlQ8ePH2xsaK+ZRuExpjZyuGBZ7H6RloS9MAEypvf0xpQ68lI4E tSKUCix3JKxjsF+airCuADvT0lzRGspd9CE17GN/SSzXYK4KIDU/h1NuTyqj6GWF0+TP cfaA== 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 :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=VmJQ4z0tGX/QRuCuUUhau77mrSxo/zjvHeoJaTgwm3w=; b=pNVyFYcWfwX1DxriCcR/SXl0oEzxMqQICxoICWrpLCJwe++xJIw7tBZFXoVfhp8LcW TesaHlY7Wh6tEC4p7x32fq/+XCsuvuAxVvNlBadx1xYP1w0bSK/YEoVCIQk1swdXXbUs YMbTnUarOFF7UKmn+w/KB7C6jRWXyO+iR07DKP2+o8nDEoWglAxpvZncw9G8RaeXKiyi y4jUvRoih8tqwCz+qIlDhNJj89l87Ibc799ZsF/ZVDL9G2KfaM116zZos7o3GH7pmknD Dg5xofffXvwDl7BBgYTQtS0cG4BW6AIGC7NzYZs95mP06YoAKahrMW2WsWwOFuP7fFOk Igfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=fwnb1bdv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id x3-20020a170902fe8300b00153b2d164a7si10862203plm.175.2022.03.21.16.08.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Mar 2022 16:08:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=fwnb1bdv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id D89D44211E9; Mon, 21 Mar 2022 15:06:34 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1352708AbiCUT3q (ORCPT + 99 others); Mon, 21 Mar 2022 15:29:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42568 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1352683AbiCUT3n (ORCPT ); Mon, 21 Mar 2022 15:29:43 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 50AC9B44; Mon, 21 Mar 2022 12:28:12 -0700 (PDT) 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 ams.source.kernel.org (Postfix) with ESMTPS id 964B1B819C2; Mon, 21 Mar 2022 19:28:11 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 03F53C340E8; Mon, 21 Mar 2022 19:28:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1647890890; bh=2DJ2Ykmemas9uAd8SgNaZWXrO/X4eO+ejMl3uWdMH7M=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=fwnb1bdv9WmgMmHlUZAq7N+pYfeOf8Vf1ZMuH9E+LkaMXbYXekCBVrWevSq+mGE6Z aPmXdfDFeyCDlpB4iMpFIkjIlg7RgLouMpEjTMVMAH8R3HgoWss6/CXRApfZsASQ// gkfsDDyCxgLmMik4ljcMDYT8T/SDG55wjdOZDP5Wku6fxBXHmj40p/HdmEqSv/8B53 /323YNGreXoK17wUsFqE9HkpVFLp7QK3NKzvKrIFa2iK5fpbyb00ASrMkF4e1rlC5G rm8aUmZqys2mUXJVwtGMnxC/G52rndWfV6TuC/wtEmh0MkwxEgXfPx9EgyjfRHfChL a3uzxx/FxH1tQ== Date: Mon, 21 Mar 2022 12:28:08 -0700 From: Jakub Kicinski To: Veerasenareddy Burru Cc: , , , , , Abhijit Ayarekar , Satananda Burla Subject: Re: [net-next PATCH v4 1/7] octeon_ep: Add driver framework and device initialization Message-ID: <20220321122808.427d7872@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> In-Reply-To: <20220321055337.4488-2-vburru@marvell.com> References: <20220321055337.4488-1-vburru@marvell.com> <20220321055337.4488-2-vburru@marvell.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 20 Mar 2022 22:53:31 -0700 Veerasenareddy Burru wrote: > Add driver framework and device setup and initialization for Octeon > PCI Endpoint NIC. > > Add implementation to load module, initilaize, register network device, > cleanup and unload module. > > Signed-off-by: Veerasenareddy Burru > Signed-off-by: Abhijit Ayarekar > Signed-off-by: Satananda Burla Clang says: drivers/net/ethernet/marvell/octeon_ep/octep_ctrl_mbox.c:51:19: warning: unused function 'octep_ctrl_mbox_circq_inc' [-Wunused-function] static inline u32 octep_ctrl_mbox_circq_inc(u32 index, u32 mask) ^ drivers/net/ethernet/marvell/octeon_ep/octep_ctrl_mbox.c:56:19: warning: unused function 'octep_ctrl_mbox_circq_space' [-Wunused-function] static inline u32 octep_ctrl_mbox_circq_space(u32 pi, u32 ci, u32 mask) ^ drivers/net/ethernet/marvell/octeon_ep/octep_ctrl_mbox.c:61:19: warning: unused function 'octep_ctrl_mbox_circq_depth' [-Wunused-function] static inline u32 octep_ctrl_mbox_circq_depth(u32 pi, u32 ci, u32 mask) ^ Please don't use static inlines in C files, static is enough for the compiler to do a reasonable job. Please fix and repost in 2 weeks we're currently in the merge window so networking trees are not accepting new drivers. Thanks.