From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f175.google.com (mail-pl1-f175.google.com [209.85.214.175]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BE28135E93C for ; Mon, 22 Jun 2026 06:41:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.175 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782110508; cv=none; b=ClYTZ+hF35otMLrSMcZYKRRcsfpKu/qAMlqX3ZOyhtVE36cSNAsRl/9uo2VzXjBTgmZcrAOyGTNZk7WCj2yu4x7OZyS6YjDs47A2DcT3qhpIs+rwSduyTCE3UfWoQgKmyYCERnqT/16gqd8R/y7D8iLT7ddPL6fHAUxJo7MnmMA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782110508; c=relaxed/simple; bh=lspmYaIzUdmokZ16J13Yddr87kMZlXE7Cl6OCyi7NCw=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=DxlLEmIOr6sLBOMU3MyvsnBGnqrLgM/1cU+PXsLz8Y9JLvmQrv3aSASesrU1TDVyIDQT58Bg/Lsi6Ul4oz+jEdtEi+lgU8mrYfEMGN1+tvtW0tcbrXUI7mRrXbGvIplrGLFgkUCTCDvUf35HqN6Ek3SwwENN5LCyCPgJXoZYG8U= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=WpQ6ltpx; arc=none smtp.client-ip=209.85.214.175 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="WpQ6ltpx" Received: by mail-pl1-f175.google.com with SMTP id d9443c01a7336-2c168baac83so17470145ad.2 for ; Sun, 21 Jun 2026 23:41:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1782110506; x=1782715306; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=6i3APjxqO+iO6+CjA0BhVnND5CFYJ3OP9cuSnAvq/b8=; b=WpQ6ltpxht+YcPw2uomDJ4iXfs9WytNIhE1n2AEYSSndpwZavh26kfxs/DwwOXBGWZ i5qi4KM2/zemzf4VPDQIJhbXHzltiQw8glwYill/efjIT9hhpIdi5nMm6I39QUA8C4j2 63Z1xnRuM1m/vqZzDJjAwZV5LrHdatZocHHY/qG6rbhgjB3QA2GPkfVpZsdOd0OlkFrr 7k8Ymr/qSd8cXuG6GW6K+gNKwkbnBam6K8tHTItmdUpZyz+Bd/jZhO7Jn2o6g+dQUTuy fynfRTKydAwrmRBT4Sc4BW8eukS6IK8GUo+9h10pm5sNu3sYjnwcqoKZSOnHM43F6iVX 2Swg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1782110506; x=1782715306; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=6i3APjxqO+iO6+CjA0BhVnND5CFYJ3OP9cuSnAvq/b8=; b=ZqpRL6MKBFbIx4keGQ9OMOo7Edn1F376hijPHVj62g8CmMGvhSlPeLirra9A7f+S+o Xy7PKDoCxuxl6KhHxJJf28f13HaKqklNUDYIwf+x7zxkO483J14lo6EGq+rAxgFB6fvy rO6AAG8n755+RafC2CfeunlBViF1RmwUOlvezcpLiKVRno8uF6DLjTO4aXlAKXihqC/o ljB5xnu3VhMhHWmFHJUtq4xcAk/vHE7Ntyse4sS2IACOLnPPCRqrvOrSMTjOG2fkZYqm OGoMQ/KPvQFs/HI15HsjxUBINNWwNrvCfFFlMp+QK8F3wWn/fdgZQ2kuEu0NAIofYZw4 Yk5g== X-Forwarded-Encrypted: i=1; AHgh+RrZ6PSyPUbGw1tQ9QPKCLHThIvxwNQeyrR8RqqTr1MoPYJ8qFdiqadhAL3PwiqJqTyHtdMTgfqpGFCY8yA=@vger.kernel.org X-Gm-Message-State: AOJu0YzFxJkHZX/9bFx12P1YUtW/bd0vPsJ/2LSoVwPm1xU1m0br4d0f xN6v4HuNbspmakN072cpyWrX1/r1HxeEj0Gxj1jPVA1adWKrdM2tFTYs X-Gm-Gg: AfdE7cnfjUTul9vESE3FrcOwM1FkRBdHPLM+5j8oRD+HsLFLtUVgqYUMGPpAqAk+l7z M7jiWZWfSj6diQuUDtbwggXGh2qeL/OIW7ZEB4d46skjvRs3SrKBoPY1KJ2QLMoQPS/GrIKe+N2 AX1HlHMah7AtdcgPBTcLNB96OHNFPGlAZa3GXynl5iCgC1XUaPpynLal/Q8H5ibKr+sk0O1PIiD AdF2WGtIFRA77Mq/uJ8u8hJWeRbLtl7l/axadu/VDYDRISWw2aK9uZqwtHNKfXjt5GXERaHHONt XOOpioDh3gXUWRU97rgWvihI02yz9GxGE6IxTLyUANgQVpz5QecE5GcBnHHCaczO8zSIocHl+52 97Dq7ZxA3YHc2jDkSBJ5NNNwF46uJisfRBafkHaunlDRdMWRHg/fL1OZ2BHDRn3tCH5Is6+M/et KkIB1Mf/4VJumCA48QnaOXx3ZoeCy9GCNA+swZJSDpkyMdmdveS8wmBM5XBTmuFkk= X-Received: by 2002:a17:902:f68e:b0:2c2:9a1e:6099 with SMTP id d9443c01a7336-2c718f64b9amr135705295ad.23.1782110506002; Sun, 21 Jun 2026 23:41:46 -0700 (PDT) Received: from moksh-Nitro-ANV15-51.. ([36.255.89.36]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2c799749cb3sm21123865ad.72.2026.06.21.23.41.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Jun 2026 23:41:44 -0700 (PDT) From: Moksh Panicker To: gregkh@linuxfoundation.org Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, skhan@linuxfoundation.org, Moksh Panicker Subject: [PATCH 1/3] staging: rtl8723bs: Replace bare 'uint' with 'unsigned int' in ioctl_cfg80211.c Date: Mon, 22 Jun 2026 06:41:27 +0000 Message-Id: <20260622064129.10261-2-mokshpanicker.7@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20260622064129.10261-1-mokshpanicker.7@gmail.com> References: <20260622064129.10261-1-mokshpanicker.7@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Replace bare use of 'uint' with 'unsigned int' in function parameters and local variables in ioctl_cfg80211.c and its corresponding header ioctl_cfg80211.h. This fixes the following checkpatch.pl warning: WARNING: Prefer 'unsigned int' to bare use of 'unsigned' Signed-off-by: Moksh Panicker --- drivers/staging/rtl8723bs/include/ioctl_cfg80211.h | 4 ++-- drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/staging/rtl8723bs/include/ioctl_cfg80211.h b/drivers/staging/rtl8723bs/include/ioctl_cfg80211.h index bc62b7285950..a1fc18cd247b 100644 --- a/drivers/staging/rtl8723bs/include/ioctl_cfg80211.h +++ b/drivers/staging/rtl8723bs/include/ioctl_cfg80211.h @@ -42,10 +42,10 @@ void rtw_cfg80211_indicate_connect(struct adapter *padapter); void rtw_cfg80211_indicate_disconnect(struct adapter *padapter); void rtw_cfg80211_indicate_scan_done(struct adapter *adapter, bool aborted); -void rtw_cfg80211_indicate_sta_assoc(struct adapter *padapter, u8 *pmgmt_frame, uint frame_len); +void rtw_cfg80211_indicate_sta_assoc(struct adapter *padapter, u8 *pmgmt_frame, unsigned int frame_len); void rtw_cfg80211_indicate_sta_disassoc(struct adapter *padapter, unsigned char *da, unsigned short reason); -void rtw_cfg80211_rx_action(struct adapter *adapter, u8 *frame, uint frame_len, const char *msg); +void rtw_cfg80211_rx_action(struct adapter *adapter, u8 *frame, unsigned int frame_len, const char *msg); bool rtw_cfg80211_pwr_mgmt(struct adapter *adapter); diff --git a/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c b/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c index 1484336d7551..dfb19a9f3d6b 100644 --- a/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c +++ b/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c @@ -1152,7 +1152,7 @@ void rtw_cfg80211_surveydone_event_callback(struct adapter *padapter) static int rtw_cfg80211_set_probe_req_wpsp2pie(struct adapter *padapter, char *buf, int len) { int ret = 0; - uint wps_ielen = 0; + unsigned int wps_ielen = 0; u8 *wps_ie; struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); @@ -1515,12 +1515,12 @@ static int rtw_cfg80211_set_wpa_ie(struct adapter *padapter, u8 *pie, size_t iel } {/* handle wps_ie */ - uint wps_ielen; + unsigned int wps_ielen; u8 *wps_ie; wps_ie = rtw_get_wps_ie(buf, ielen, NULL, &wps_ielen); if (wps_ie && wps_ielen > 0) { - padapter->securitypriv.wps_ie_len = min_t(uint, wps_ielen, MAX_WPS_IE_LEN); + padapter->securitypriv.wps_ie_len = min_t(unsigned int, wps_ielen, MAX_WPS_IE_LEN); memcpy(padapter->securitypriv.wps_ie, wps_ie, padapter->securitypriv.wps_ie_len); set_fwstate(&padapter->mlmepriv, WIFI_UNDER_WPS); } else { @@ -1911,7 +1911,7 @@ static int cfg80211_rtw_flush_pmksa(struct wiphy *wiphy, return 0; } -void rtw_cfg80211_indicate_sta_assoc(struct adapter *padapter, u8 *pmgmt_frame, uint frame_len) +void rtw_cfg80211_indicate_sta_assoc(struct adapter *padapter, u8 *pmgmt_frame, unsigned int frame_len) { struct wireless_dev *wdev = padapter->rtw_wdev; @@ -2247,7 +2247,7 @@ static int rtw_add_beacon(struct adapter *adapter, const u8 *head, size_t head_l { int ret = 0; u8 *pbuf = NULL; - uint len, wps_ielen = 0; + unsigned int len, wps_ielen = 0; struct mlme_priv *pmlmepriv = &(adapter->mlmepriv); if (!check_fwstate(pmlmepriv, WIFI_AP_STATE)) @@ -2442,7 +2442,7 @@ static int cfg80211_rtw_dump_station(struct wiphy *wiphy, return ret; } -void rtw_cfg80211_rx_action(struct adapter *adapter, u8 *frame, uint frame_len, const char *msg) +void rtw_cfg80211_rx_action(struct adapter *adapter, u8 *frame, unsigned int frame_len, const char *msg) { s32 freq; int channel; -- 2.34.1