From patchwork Fri Jul 21 06:34:38 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: 705732 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 4135AEB64DC for ; Fri, 21 Jul 2023 06:34:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230477AbjGUGew (ORCPT ); Fri, 21 Jul 2023 02:34:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34088 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231148AbjGUGep (ORCPT ); Fri, 21 Jul 2023 02:34:45 -0400 Received: from mail.208.org (unknown [183.242.55.162]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DDEA72735 for ; Thu, 20 Jul 2023 23:34:43 -0700 (PDT) Received: from mail.208.org (email.208.org [127.0.0.1]) by mail.208.org (Postfix) with ESMTP id 4R6ft72g5CzBRDtX for ; Fri, 21 Jul 2023 14:34:39 +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=1689921279; x=1692513280; bh=r92ntZahQbmDCf0JiTXJwPOJu5M CPbYJWcWzgZtza0I=; b=htzDzupy1Rfy25l8jaWfoDmZqaeZJYgCnWfTvsNQx+z Rfv2XRFAC7KkAdWqwi5sHhSSj0X6lW77Rq0QfrNYZTzAW/la7g/x2n3ijEqNeVqw mpGzT/tPVMSKNq2o4f9PrJnHQjDrTzyizqeNLHLwBg2+toDammKwXcVVXeYGAeGq 6zLOJTQjDqBaYCmeeNmslzQPGZKn3q0GjodBlZRh+iWkwBlOHag2fhQj37xcV4gH 5/MbvY3V3sE2o2h/v8cqfm2DkYJmIFq1raPMQQHuytKEIJSmsnocUbupunZk+L/1 YqKKOB4V/cZVo03Xn6FxXd4nRj3vuVUXz6HPyOkuuFA== 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 D5UYy60Y5hvV for ; Fri, 21 Jul 2023 14:34:39 +0800 (CST) Received: from localhost (email.208.org [127.0.0.1]) by mail.208.org (Postfix) with ESMTPSA id 4R6ft707nLzBRDtJ; Fri, 21 Jul 2023 14:34:38 +0800 (CST) MIME-Version: 1.0 Date: Fri, 21 Jul 2023 14:34:38 +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: "foo* bar" should be "foo *bar" In-Reply-To: References: User-Agent: Roundcube Webmail Message-ID: <18520fa625b8a901314c65bb8e557091@208suo.com> X-Sender: hanyu001@208suo.com Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Fix checkpatch warnings: ./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) {