From patchwork Tue Apr 11 09:10:46 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mika Westerberg X-Patchwork-Id: 13207238 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 1E938C77B6F for ; Tue, 11 Apr 2023 09:11:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230313AbjDKJLU (ORCPT ); Tue, 11 Apr 2023 05:11:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34712 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229593AbjDKJK5 (ORCPT ); Tue, 11 Apr 2023 05:10:57 -0400 Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 92D7126A1 for ; Tue, 11 Apr 2023 02:10:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1681204249; x=1712740249; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=7aH48hhTcqsbru85jjXdrPODWNjlZPhKDzyLdvEyfFU=; b=d5hEoY1HYS1R663jfoohFuLLqBl3kPvzGiNdWTqhb7Kl+AsmyGpYEC7M RO9jZpnz4ihQ6JwzbKKHgA42EdyJVUpQnoOUFgV3dOjRVUFEFyxO05t9+ 5g9A+f/0p6GOOQpV+2UBeYbAGJ9uVK//XyuL1W1uE+WT1rDG9t2GtNRXk Uq8j6g2D0au3aBOGoX4k5Hib9i3tkK8QT9MjaIHu9IqUvvg+v1pCzByT4 OVtuJCZar0frc9/BV+8BxwRXL6fdfNncloiMECBCKI6nWKz+LHdo+b16v 6rZLXkPXin1+OY4kLOOVuCdXWI/JCxKSTR5Y3RGccPeibFXSBzbVAa5dH Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10676"; a="343568207" X-IronPort-AV: E=Sophos;i="5.98,336,1673942400"; d="scan'208";a="343568207" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Apr 2023 02:10:49 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10676"; a="753066930" X-IronPort-AV: E=Sophos;i="5.98,336,1673942400"; d="scan'208";a="753066930" Received: from black.fi.intel.com ([10.237.72.28]) by fmsmga008.fm.intel.com with ESMTP; 11 Apr 2023 02:10:46 -0700 Received: by black.fi.intel.com (Postfix, from userid 1001) id 3BB56438; Tue, 11 Apr 2023 12:10:49 +0300 (EEST) From: Mika Westerberg To: "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni Cc: Michael Jamet , Yehezkel Bernat , Andy Shevchenko , Simon Horman , Mika Westerberg , netdev@vger.kernel.org Subject: [PATCH v2 0/3] net: thunderbolt: Fix for sparse warnings and typos Date: Tue, 11 Apr 2023 12:10:46 +0300 Message-Id: <20230411091049.12998-1-mika.westerberg@linux.intel.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Hi all, This series tries to fix the rest of the sparse warnings generated against the driver. While there fix the two typos in comments as well. The previous version of the series can be found here: https://lore.kernel.org/netdev/20230404053636.51597-1-mika.westerberg@linux.intel.com/ Changes from the previous version: * Split the sparse fix into two patches * Fixed the other typo * Added tags from Simon and Andy. Mika Westerberg (3): net: thunderbolt: Fix sparse warnings in tbnet_check_frame() and tbnet_poll() net: thunderbolt: Fix sparse warnings in tbnet_xmit_csum_and_map() net: thunderbolt: Fix typos in comments drivers/net/thunderbolt/main.c | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-)