From patchwork Mon Apr 17 06:58:17 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Chan X-Patchwork-Id: 13213359 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 80386C77B72 for ; Mon, 17 Apr 2023 06:58:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230286AbjDQG6h (ORCPT ); Mon, 17 Apr 2023 02:58:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50774 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230085AbjDQG6f (ORCPT ); Mon, 17 Apr 2023 02:58:35 -0400 Received: from mail-pj1-x102b.google.com (mail-pj1-x102b.google.com [IPv6:2607:f8b0:4864:20::102b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 927861BC2 for ; Sun, 16 Apr 2023 23:58:34 -0700 (PDT) Received: by mail-pj1-x102b.google.com with SMTP id hg12so10045278pjb.2 for ; Sun, 16 Apr 2023 23:58:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; t=1681714714; x=1684306714; h=mime-version:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=arcYo3/6zEwATo/QhY/9l8SiYX1Jc27ZrxW35de+8W0=; b=OZeQpwO+ONdvhsokV/Zs7YuTAeSoIFPC/CsUw4UYWcsI3zz4H/wNCtgSvh0OfVmDpf 378Svd5lJ4cXvS9UMAyNN6xMmy/gkGVaFPZXf1ACrG6rqipr2FZryZiN/7Bx9aGIf3Cf VhZfutvO6yb1zOlaaIDuhLS2E/DDJETD0W2RQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681714714; x=1684306714; h=mime-version:message-id:date:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=arcYo3/6zEwATo/QhY/9l8SiYX1Jc27ZrxW35de+8W0=; b=iQZnMTTvEMQxhxKJcTtDnG65+qnbL7QbuQe0cTPGG8tozJvle8T7fwJ1QyulbE2jyG kbBXUptnjySu75q8QfxzmlqIr1/wJfdzBaVu4p7vUIdm7qSkB8yqc+k11UkfaNlchHDk ofUxNjPjLglO0JDM6r6OCu+Iv0luCOFTbDZYXYudl7YrbeJ5sX2mXGcWTtD98QFC3peh NkUxPWBBSKV0HmQIW6mUvzqE7kcqVB6UdjQponqaYG/0s8HwyjnsLjCA5VMPN7h/CUTG 8EfnReck0r/BbF5QxCF9VBsq5Aj2MA9njjJpr8MRv8q2wHKv2+XCAZ8IGOWPKeWgNxZh Oqzw== X-Gm-Message-State: AAQBX9ddQ5sgdxBkijwWQWXIDFc5fN43y453As+UU4Tm8bfynk9P4wqu SoIljcx5SGB1RVa4Pye3OagWSA== X-Google-Smtp-Source: AKy350bFWCjNiiS2nDXQATRNkBHjp2FzmE+M2e2aO/r+PuLArPhCINDWsBnZr1qybX/3Nmd2lMJXyg== X-Received: by 2002:a17:90b:4a0d:b0:246:5968:43f0 with SMTP id kk13-20020a17090b4a0d00b00246596843f0mr13574702pjb.10.1681714713899; Sun, 16 Apr 2023 23:58:33 -0700 (PDT) Received: from lvnvda1597.lvn.broadcom.net ([192.19.161.250]) by smtp.gmail.com with ESMTPSA id h15-20020a17090a050f00b00247abbb157fsm374132pjh.31.2023.04.16.23.58.32 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 16 Apr 2023 23:58:33 -0700 (PDT) From: Michael Chan To: davem@davemloft.net Cc: netdev@vger.kernel.org, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, gospo@broadcom.com Subject: [PATCH net 0/2] bnxt_en: Bug fixes Date: Sun, 16 Apr 2023 23:58:17 -0700 Message-Id: <20230417065819.122055-1-michael.chan@broadcom.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org This small series contains 2 fixes. The first one fixes the PTP initialization logic on older chips to avoid logging a warning. The second one fixes a potenial NULL pointer dereference in the driver's aux bus unload path. Kalesh AP (1): bnxt_en: Fix a possible NULL pointer dereference in unload path Michael Chan (1): bnxt_en: Do not initialize PTP on older P3/P4 chips drivers/net/ethernet/broadcom/bnxt/bnxt.c | 2 +- drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c | 19 ++++++++++--------- 2 files changed, 11 insertions(+), 10 deletions(-)