Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp2018308rdb; Wed, 31 Jan 2024 17:13:04 -0800 (PST) X-Google-Smtp-Source: AGHT+IGuxGKW05TGXKSwRJknqIYkWDPUuWHjY34pIn6DZ6Bqy/cawosm/wyOva36R/02Y6TnB3Qe X-Received: by 2002:a05:620a:5627:b0:784:37fe:81f5 with SMTP id vv7-20020a05620a562700b0078437fe81f5mr1145119qkn.23.1706749983963; Wed, 31 Jan 2024 17:13:03 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706749983; cv=pass; d=google.com; s=arc-20160816; b=zBeH2qNnflwW0H32VeBLxLQ3sW09iCrjObpLr1pxCzSjBsjaNmC3mQseCb0Cmj6VaW 0gVEFdQIOKKgQzu5bpyzf9dkw5Rm+9UagGUBwwbrKO3xyw1oXd9eLUDI8xyLeBqjtepa unLV1+N2BBnXYY0aq1ATWTird/rxnzk1MT8a2O3wfzO/dLb1DVXXo1Ur0dt5fAOaTltV TmVgPUv216sKKvMK2LbPe3d87OOFr/+gXRImURm1DvrJOmNAohMtjHEtZc1sQS7KJBx2 mrMRsTMPvI8ytq5s4pywVz+wlWSb+LiuAZidxbYDeH7xI1txxhoZf58Y6eguN7//GVLP TASA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :content-transfer-encoding:content-language:accept-language :in-reply-to:references:message-id:date:thread-index:thread-topic :subject:cc:to:from; bh=oXyZ94HQjIDlcU47fwE4bXXm8+FGbxZrkGWQO9/D9rM=; fh=G2wNjoMxs4AgaxEfkwe6WGBIMMrJXF7j6UPrFz4FrOU=; b=oNmozfFO0DwbwZ7/BtLQMmd0FJeedbL+yMQlY57TzBF+1hkiEA32BFd9f8XE2NIhYc hjx3bc/4btcf1RPnXbsHN02qDCz7EdycQT+s0NowGcPUBKWopU2iC6up/Gaoim1pzpP7 YVxVwLNRRdSrmlRRbvzeFkoYKKvmpayghGkN0EycPfqPVT3K81fH7p9bQ5Gb+SnwGhBQ 3ijISu+E4b8sMOm6df1GlqGE5VR6fjpHJ+m7R888//851qyXIWHj5gxfKkwt7/x+8Vog 5R0R/NKm5r/OSOprqUyQDh7/h7owjxFegf9p8kntJUrhnYX3e0MQW1gfx5+47GQmSk5S 9bxQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=realtek.com); spf=pass (google.com: domain of linux-wireless+bounces-2923-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-wireless+bounces-2923-linux.lists.archive=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=1; AJvYcCVVRBS5Hi6sdxDBq9cZ/JlNV8D97+VthAJjhgPQBoxZLExWN4vwk5CdK3Szlchtx9E4Xm7y8iZX94nIEKHOseVm1K6rrdcrFH1pIOKD1Q== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id p5-20020a05620a22a500b00783fb4f6fbcsi7845744qkh.529.2024.01.31.17.13.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Jan 2024 17:13:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-2923-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=realtek.com); spf=pass (google.com: domain of linux-wireless+bounces-2923-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-wireless+bounces-2923-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id D32771C2A71A for ; Thu, 1 Feb 2024 01:13:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F2E06BA42; Thu, 1 Feb 2024 01:10:24 +0000 (UTC) X-Original-To: linux-wireless@vger.kernel.org Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) (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 25EDBFBFA; Thu, 1 Feb 2024 01:10:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=211.75.126.72 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706749824; cv=none; b=I+QRV7bbp8FpnSwcApRG4f5H4XuR2NJ29FD4x9xXm140NN2jffADQLQVC/g5PohmVlM5LZF95McKQmaeuZe1agYfOvWLDdo/7ilKX+gmdZaRRshnnLRruEkC+myAqYysVurh09PNCTnrWwM6/M4z+SELAy1ROwEOS/44Zyp+s3c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706749824; c=relaxed/simple; bh=oXyZ94HQjIDlcU47fwE4bXXm8+FGbxZrkGWQO9/D9rM=; h=From:To:CC:Subject:Date:Message-ID:References:In-Reply-To: Content-Type:MIME-Version; b=lEG+xnYC0LMSoH3hzcE/jAxFwY2C9QLswNV0EK3lgP63yCjz4MjSy+8Fsfu0bd/LYQK3ta8dEXRKyvv2eJ0AChqjnP77J96bs9W1G5bcHFVJHY52EsS1q6WWKhu9C7TQ91fkWMEO5pWlx3pj04mGL+oYfZ/KXqfOkQcvuiwVmbk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=realtek.com; spf=pass smtp.mailfrom=realtek.com; arc=none smtp.client-ip=211.75.126.72 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=realtek.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=realtek.com X-SpamFilter-By: ArmorX SpamTrap 5.78 with qID 41119nYoA1198478, This message is accepted by code: ctloc85258 Received: from mail.realtek.com (rtexh36505.realtek.com.tw[172.21.6.25]) by rtits2.realtek.com.tw (8.15.2/2.95/5.92) with ESMTPS id 41119nYoA1198478 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 1 Feb 2024 09:09:49 +0800 Received: from RTEXMBS04.realtek.com.tw (172.21.6.97) by RTEXH36505.realtek.com.tw (172.21.6.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2375.32; Thu, 1 Feb 2024 09:09:50 +0800 Received: from RTEXMBS04.realtek.com.tw (172.21.6.97) by RTEXMBS04.realtek.com.tw (172.21.6.97) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Thu, 1 Feb 2024 09:09:50 +0800 Received: from RTEXMBS04.realtek.com.tw ([fe80::c9b7:82a9:7e98:fa7f]) by RTEXMBS04.realtek.com.tw ([fe80::c9b7:82a9:7e98:fa7f%7]) with mapi id 15.01.2507.035; Thu, 1 Feb 2024 09:09:50 +0800 From: Ping-Ke Shih To: Dan Carpenter , Martin Kaistra CC: Jes Sorensen , Kalle Valo , "linux-wireless@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "kernel-janitors@vger.kernel.org" Subject: RE: [PATCH] wifi: rtl8xxxu: fix error messages Thread-Topic: [PATCH] wifi: rtl8xxxu: fix error messages Thread-Index: AQHaVBSKyusWX7FLnUifv/dz8Jm+y7D0rgxQ Date: Thu, 1 Feb 2024 01:09:49 +0000 Message-ID: <05fc965bb66746d196c2da08a0455fdf@realtek.com> References: <7b144531-a8da-4725-8911-9b614a525a35@moroto.mountain> In-Reply-To: <7b144531-a8da-4725-8911-9b614a525a35@moroto.mountain> Accept-Language: en-US, zh-TW Content-Language: zh-TW Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-KSE-ServerInfo: RTEXH36505.realtek.com.tw, 9 X-KSE-AntiSpam-Interceptor-Info: fallback X-KSE-Antivirus-Interceptor-Info: fallback X-KSE-AntiSpam-Interceptor-Info: fallback > -----Original Message----- > From: Dan Carpenter > Sent: Wednesday, January 31, 2024 3:10 PM > To: Martin Kaistra > Cc: Jes Sorensen ; Kalle Valo ;= Ping-Ke Shih > ; linux-wireless@vger.kernel.org; linux-kernel@vger.k= ernel.org; > kernel-janitors@vger.kernel.org > Subject: [PATCH] wifi: rtl8xxxu: fix error messages >=20 > The first parameter of WARN_ONCE() is a condition so this code will end > up printing the function name instead of the proper message. >=20 > Fixes: 3ff7a05996f9 ("wifi: rtl8xxxu: support setting bssid register for = multiple interfaces") > Signed-off-by: Dan Carpenter Reviewed-by: Ping-Ke Shih