Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp3948524rwb; Tue, 16 Aug 2022 11:27:50 -0700 (PDT) X-Google-Smtp-Source: AA6agR7QrIbgX/XaR87FnPC/0HL4iEJcxAq+D3EgPyQtdxecRgg/RPuR4BeBm4rfTVTjTWcQe6O0 X-Received: by 2002:a17:907:3e03:b0:722:e694:438 with SMTP id hp3-20020a1709073e0300b00722e6940438mr14604382ejc.755.1660674470127; Tue, 16 Aug 2022 11:27:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660674470; cv=none; d=google.com; s=arc-20160816; b=F9DsA7gLA7t9i0sAZVWBG9H/7/w2e4297p86Cv6j06FB/jkvSeh8/Cmhs1oZEtik+T 5b2sW0OU510n1KGDdbLLXPf0VddgonlZXdI8B6r5NxOjgqUglbDYuIWCFySDknSz3h29 JRGTePhJDOLGP7F8lMl16MIlItLyGxjbN1aSD+W8oV+ZwLr79DpIFNFliP+aus4MlkZh qWl0I2G/9tsmpjNXCgkKZRwM833KvaqQLX4xfoBJwFMPw/5QKqUzp/PAFAWi6vXjeddF Kw1Iuv8mA4BmRJb/6Ucftww37fGJffY8lJzN8Y8LmaW2n7TEMs72eS4Z9i6xIafzDHoy GmJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:feedback-id:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from; bh=PvcyeRAWXzMCSuAZmW1h9XDU4hhRzrnTcko4Kz08Yq8=; b=usn/0QENp3RoNcb85Fs1mgyqPKXuCdQJzgGrWR5Ag0bXGCVNSYZ8tMTPsQe3sPLcEg 14pYXEpBtbOf+7+xV0ko3N8WDPd2bhqSWUfzVvrpIpfKQVLHAA5jaGvUiwYzWLgKj+F8 K+sarPnIRCNrqtLmxb4zfjTyM9NrD+EuGgILJMHY/JMMUMVEcBFu+vkUARcdL5BhIJ/h 1pAfDOYELs6W+9C9NROQwYCgD+nL2Lsw1f9Xh75itBnklfH6ZgvZfQjaAkxVZ53Fu8GA jEsNe99NNnkrqp24CPjCnCHfJhvofZLnsJzs1cdyNxhbj7Pu/lYXg9+4ylx749FmaoJ0 FGCg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o4-20020a170906974400b00730a3b5af1fsi12162480ejy.338.2022.08.16.11.27.31; Tue, 16 Aug 2022 11:27:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237029AbiHPSPn (ORCPT + 65 others); Tue, 16 Aug 2022 14:15:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54130 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236658AbiHPSPR (ORCPT ); Tue, 16 Aug 2022 14:15:17 -0400 Received: from bg5.exmail.qq.com (bg4.exmail.qq.com [43.154.54.12]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A715E81B3B; Tue, 16 Aug 2022 11:15:13 -0700 (PDT) X-QQ-mid: bizesmtp70t1660673453tihgsg97 Received: from harry-jrlc.. ( [182.148.12.144]) by bizesmtp.qq.com (ESMTP) with id ; Wed, 17 Aug 2022 02:10:41 +0800 (CST) X-QQ-SSF: 0100000000000060D000B00A0000020 X-QQ-FEAT: uUYRqJkYwO4LXC4etf4sAwy1jbvjPR2mWSdsI42K9XsGqZ7rQjgiYligQVWQz pTS2YMVG8hWrSoPWTnkhiPqAnxFsFkon+oB6IR2OcpcZXoPPLqmm98lJUJsh8YocT1LYtnw KHHrk5ZcXdvqbLzyrF+oPJiNMopI57NtXeTT3687LeVmpwfLD6OyvHfNpt6I/gk3yvdc2ue 7xEMNW4blxoX5u78ORd+ZSpo+wsVJKNYgZz4qljjmINN1m//8rLUULIF3p+cAVVug8b0Yig oi+Tk7qhGcaK6zmK+xVa4DU14l+nvD9bJQ1W5bEr/VcC1qQKp9OF5EbiT2W+we2HZvabSd9 XTW8V4PRpS2EG2bAbFIa23k5Vy6qbEbD0Lb8uVU+j0aFZCpOq84VzTHpD/XZw== X-QQ-GoodBg: 0 From: Xin Gao To: johannes@sipsolutions.net, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com Cc: linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Xin Gao Subject: [PATCH] mac80211: Variable type completion Date: Wed, 17 Aug 2022 02:10:40 +0800 Message-Id: <20220816181040.9044-1-gaoxin@cdjrlc.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:cdjrlc.com:qybglogicsvr:qybglogicsvr6 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org 'unsigned int' is better than 'unsigned'. Signed-off-by: Xin Gao --- net/mac80211/ibss.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/mac80211/ibss.c b/net/mac80211/ibss.c index 14c04fd48b7a..16fe69deb40b 100644 --- a/net/mac80211/ibss.c +++ b/net/mac80211/ibss.c @@ -1349,7 +1349,7 @@ static void ieee80211_sta_create_ibss(struct ieee80211_sub_if_data *sdata) capability, 0, true); } -static unsigned ibss_setup_channels(struct wiphy *wiphy, +static unsigned int ibss_setup_channels(struct wiphy *wiphy, struct ieee80211_channel **channels, unsigned int channels_max, u32 center_freq, u32 width) -- 2.30.2