From patchwork Fri Jul 21 06:29:21 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: hanyu001@208suo.com X-Patchwork-Id: 705237 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 A7AADEB64DC for ; Fri, 21 Jul 2023 06:29:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230394AbjGUG3l (ORCPT ); Fri, 21 Jul 2023 02:29:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59028 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229453AbjGUG32 (ORCPT ); Fri, 21 Jul 2023 02:29:28 -0400 Received: from mail.208.org (unknown [183.242.55.162]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 26274EE for ; Thu, 20 Jul 2023 23:29:27 -0700 (PDT) Received: from mail.208.org (email.208.org [127.0.0.1]) by mail.208.org (Postfix) with ESMTP id 4R6fm22DTnzBRDtT for ; Fri, 21 Jul 2023 14:29:22 +0800 (CST) Authentication-Results: mail.208.org (amavisd-new); dkim=pass reason="pass (just generated, assumed good)" header.d=208.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=208.org; h= content-transfer-encoding:content-type:message-id:user-agent :references:in-reply-to:subject:to:from:date:mime-version; s= dkim; t=1689920962; x=1692512963; bh=tDJteWg3Jdb43RW9e1MsfKXwxaa RkDZKhkFPyrYOd00=; b=mMZDGWwDRdxO2hCm1HSIqBz8HIVYgwWGpw5lxl+tpX1 zQMlHsW0Gn7HvNz2yt9U8/R43ydGzXNihMMMr1EjW9ZxHqguJcq6qo1i0YNtPRAK 1I7LKYRZE+HT3EJeo4RDJfqMTCj6mNcB2u65A3ggIaa3ABzABnvDnVc4uSJX7etg XzmOC4wT2OwYbyif/GA7nuwXsUNruWxxDZKtsMm4ZWPl4f5PDVOYtA2oc6vevFeZ wOpl8LjqrM7rZ5fW8QxEbFl+iEJJTMAzcdQ4IUaMAlr4lhtrxSlJV3fyR+RpPhYq YNrmVyGO7ZZ8YIntxgojj+nb9OxOXyTsV+gefRVmAMg== X-Virus-Scanned: amavisd-new at mail.208.org Received: from mail.208.org ([127.0.0.1]) by mail.208.org (mail.208.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id U040mdIfBXuH for ; Fri, 21 Jul 2023 14:29:22 +0800 (CST) Received: from localhost (email.208.org [127.0.0.1]) by mail.208.org (Postfix) with ESMTPSA id 4R6fm172sGzBRDrq; Fri, 21 Jul 2023 14:29:21 +0800 (CST) MIME-Version: 1.0 Date: Fri, 21 Jul 2023 14:29:21 +0800 From: hanyu001@208suo.com To: stf_xl@wp.pl, helmut.schaa@googlemail.com, kvalo@kernel.org Cc: linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] net: wireless: ralink: rt2x00: In-Reply-To: References: User-Agent: Roundcube Webmail Message-ID: <3620e0bc76d3715cb8aecb0c7874390e@208suo.com> X-Sender: hanyu001@208suo.com Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Fix checkpatch warnings:"foo* bar" should be "foo *bar" ./drivers/net/wireless/ralink/rt2x00/rt2x00.h:386: ERROR: "foo* bar" should be "foo *bar" ./drivers/net/wireless/ralink/rt2x00/rt2x00.h:513: ERROR: "foo* bar" should be "foo *bar" Signed-off-by: Yu Han --- drivers/net/wireless/ralink/rt2x00/rt2x00.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) return (struct rt2x00_intf *)vif->drv_priv; } @@ -510,7 +510,7 @@ struct rt2x00_sta { int wcid; }; -static inline struct rt2x00_sta* sta_to_rt2x00_sta(struct ieee80211_sta *sta) +static inline struct rt2x00_sta *sta_to_rt2x00_sta(struct ieee80211_sta *sta) { return (struct rt2x00_sta *)sta->drv_priv; } diff --git a/drivers/net/wireless/ralink/rt2x00/rt2x00.h b/drivers/net/wireless/ralink/rt2x00/rt2x00.h index 07a6a5a..c883d7f 100644 --- a/drivers/net/wireless/ralink/rt2x00/rt2x00.h +++ b/drivers/net/wireless/ralink/rt2x00/rt2x00.h @@ -383,7 +383,7 @@ struct rt2x00_intf { atomic_t seqno; }; -static inline struct rt2x00_intf* vif_to_intf(struct ieee80211_vif *vif) +static inline struct rt2x00_intf *vif_to_intf(struct ieee80211_vif *vif) {