From patchwork Thu Sep 23 18:12:47 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leon Romanovsky X-Patchwork-Id: 12513475 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B9596C433F5 for ; Thu, 23 Sep 2021 18:13:04 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A24536121F for ; Thu, 23 Sep 2021 18:13:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242728AbhIWSOf (ORCPT ); Thu, 23 Sep 2021 14:14:35 -0400 Received: from mail.kernel.org ([198.145.29.99]:38896 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242696AbhIWSOc (ORCPT ); Thu, 23 Sep 2021 14:14:32 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 3820360F43; Thu, 23 Sep 2021 18:12:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1632420778; bh=mXvrfKC+e6Fp2msO1e9dvOO8RC/ii9We36xFgFUas8g=; h=From:To:Cc:Subject:Date:From; b=QqLZnuaHT8QqfyojGiczmUWMS8siMAdkDvolM75Q84+AiRhzknbPi0WqWHzhE5p33 xJdzMF2B52hs/UCKQtZikWC/1/BbqRTc3EQzYJaJMJJLZ5s9Zv4FpRw1eFkajMMV4f t5sRXEGpTVHlZBxkIetdwTAE1b0fJihXnA5wUMUr02maJeFpYrE3IprsIPH+joGpL/ pci6nd0BgQZd3FXo2vRMQevQK5B/munYkvA9GajE4nIKkNWPiBRAlIcRHSz0SLnshP FErUmwhcStUMdFLBaId569v8Gt5vMQfOzlCB+qcUGQu03mMyIz3U9Ryex66gLKfCG7 /kzgI9+ckOGdg== From: Leon Romanovsky To: "David S . Miller" , Jakub Kicinski Cc: Leon Romanovsky , Alexander Lobakin , Anirudh Venkataramanan , Ariel Elior , GR-everest-linux-l2@marvell.com, GR-QLogic-Storage-Upstream@marvell.com, Igor Russkikh , intel-wired-lan@lists.osuosl.org, "James E.J. Bottomley" , Javed Hasan , Jeff Kirsher , Jesse Brandeburg , Jiri Pirko , linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, "Martin K. Petersen" , Michael Chan , Michal Kalderon , netdev@vger.kernel.org, Sathya Perla , Saurav Kashyap , Tony Nguyen , Vasundhara Volam Subject: [PATCH net-next 0/6] Batch of devlink related fixes Date: Thu, 23 Sep 2021 21:12:47 +0300 Message-Id: X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org From: Leon Romanovsky Hi, I'm asking to apply this batch of devlink fixes to net-next and not to net, because most if not all fixes are for old code or/and can be considered as cleanup. It will cancel the need to deal with merge conflicts for my next devlink series :). Thanks Leon Romanovsky (6): bnxt_en: Check devlink allocation and registration status bnxt_en: Properly remove port parameter support devlink: Delete not used port parameters APIs devlink: Remove single line function obfuscations ice: Delete always true check of PF pointer qed: Don't ignore devlink allocation failures drivers/net/ethernet/broadcom/bnxt/bnxt.c | 5 +- .../net/ethernet/broadcom/bnxt/bnxt_devlink.c | 26 +--- .../net/ethernet/broadcom/bnxt/bnxt_devlink.h | 13 -- drivers/net/ethernet/intel/ice/ice_main.c | 3 - drivers/net/ethernet/qlogic/qede/qede_main.c | 12 +- drivers/scsi/qedf/qedf_main.c | 2 + include/net/devlink.h | 6 - net/core/devlink.c | 123 +++++------------- 8 files changed, 47 insertions(+), 143 deletions(-)