linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] wifi: rtw88: fix typo rtw8822cu_probe
@ 2023-08-25  6:24 Ping-Ke Shih
  2023-08-25  6:46 ` Kalle Valo
  2023-09-04 17:31 ` Kalle Valo
  0 siblings, 2 replies; 5+ messages in thread
From: Ping-Ke Shih @ 2023-08-25  6:24 UTC (permalink / raw)
  To: kvalo; +Cc: phhuang, linux-wireless

From: Po-Hao Huang <phhuang@realtek.com>

The probe function of 8822cu is misplaced to 8822bu, so we fix it.

Fixes: 07cef03b8d44 ("wifi: rtw88: Add rtw8822cu chipset support")
Signed-off-by: Po-Hao Huang <phhuang@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
---
 drivers/net/wireless/realtek/rtw88/rtw8822cu.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/net/wireless/realtek/rtw88/rtw8822cu.c b/drivers/net/wireless/realtek/rtw88/rtw8822cu.c
index af28ca09d41f..157d5102a4b1 100644
--- a/drivers/net/wireless/realtek/rtw88/rtw8822cu.c
+++ b/drivers/net/wireless/realtek/rtw88/rtw8822cu.c
@@ -25,7 +25,7 @@ static const struct usb_device_id rtw_8822cu_id_table[] = {
 };
 MODULE_DEVICE_TABLE(usb, rtw_8822cu_id_table);
 
-static int rtw8822bu_probe(struct usb_interface *intf,
+static int rtw8822cu_probe(struct usb_interface *intf,
 			   const struct usb_device_id *id)
 {
 	return rtw_usb_probe(intf, id);
@@ -34,7 +34,7 @@ static int rtw8822bu_probe(struct usb_interface *intf,
 static struct usb_driver rtw_8822cu_driver = {
 	.name = "rtw_8822cu",
 	.id_table = rtw_8822cu_id_table,
-	.probe = rtw8822bu_probe,
+	.probe = rtw8822cu_probe,
 	.disconnect = rtw_usb_disconnect,
 };
 module_usb_driver(rtw_8822cu_driver);
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH] wifi: rtw88: fix typo rtw8822cu_probe
  2023-08-25  6:24 [PATCH] wifi: rtw88: fix typo rtw8822cu_probe Ping-Ke Shih
@ 2023-08-25  6:46 ` Kalle Valo
  2023-08-25  7:02   ` Ping-Ke Shih
  2023-09-04 17:31 ` Kalle Valo
  1 sibling, 1 reply; 5+ messages in thread
From: Kalle Valo @ 2023-08-25  6:46 UTC (permalink / raw)
  To: Ping-Ke Shih; +Cc: phhuang, linux-wireless

Ping-Ke Shih <pkshih@realtek.com> writes:

> From: Po-Hao Huang <phhuang@realtek.com>
>
> The probe function of 8822cu is misplaced to 8822bu, so we fix it.
>
> Fixes: 07cef03b8d44 ("wifi: rtw88: Add rtw8822cu chipset support")
> Signed-off-by: Po-Hao Huang <phhuang@realtek.com>
> Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>

I guess this is just a cosmetic change and does not cause any changes in
functionality? I can add that to the commit log.

-- 
https://patchwork.kernel.org/project/linux-wireless/list/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: [PATCH] wifi: rtw88: fix typo rtw8822cu_probe
  2023-08-25  6:46 ` Kalle Valo
@ 2023-08-25  7:02   ` Ping-Ke Shih
  2023-08-25  7:22     ` Kalle Valo
  0 siblings, 1 reply; 5+ messages in thread
From: Ping-Ke Shih @ 2023-08-25  7:02 UTC (permalink / raw)
  To: Kalle Valo; +Cc: Bernie Huang, linux-wireless@vger.kernel.org



> -----Original Message-----
> From: Kalle Valo <kvalo@kernel.org>
> Sent: Friday, August 25, 2023 2:47 PM
> To: Ping-Ke Shih <pkshih@realtek.com>
> Cc: Bernie Huang <phhuang@realtek.com>; linux-wireless@vger.kernel.org
> Subject: Re: [PATCH] wifi: rtw88: fix typo rtw8822cu_probe
> 
> Ping-Ke Shih <pkshih@realtek.com> writes:
> 
> > From: Po-Hao Huang <phhuang@realtek.com>
> >
> > The probe function of 8822cu is misplaced to 8822bu, so we fix it.
> >
> > Fixes: 07cef03b8d44 ("wifi: rtw88: Add rtw8822cu chipset support")
> > Signed-off-by: Po-Hao Huang <phhuang@realtek.com>
> > Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
> 
> I guess this is just a cosmetic change and does not cause any changes in
> functionality? I can add that to the commit log.
> 

Yes, it doesn't change anything. If Fixes tag is not suitable, please also
remove it.

Thank you. 
Ping-ke



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] wifi: rtw88: fix typo rtw8822cu_probe
  2023-08-25  7:02   ` Ping-Ke Shih
@ 2023-08-25  7:22     ` Kalle Valo
  0 siblings, 0 replies; 5+ messages in thread
From: Kalle Valo @ 2023-08-25  7:22 UTC (permalink / raw)
  To: Ping-Ke Shih; +Cc: Bernie Huang, linux-wireless@vger.kernel.org

Ping-Ke Shih <pkshih@realtek.com> writes:

>> -----Original Message-----
>> From: Kalle Valo <kvalo@kernel.org>
>> Sent: Friday, August 25, 2023 2:47 PM
>> To: Ping-Ke Shih <pkshih@realtek.com>
>> Cc: Bernie Huang <phhuang@realtek.com>; linux-wireless@vger.kernel.org
>> Subject: Re: [PATCH] wifi: rtw88: fix typo rtw8822cu_probe
>> 
>> Ping-Ke Shih <pkshih@realtek.com> writes:
>> 
>> > From: Po-Hao Huang <phhuang@realtek.com>
>> >
>> > The probe function of 8822cu is misplaced to 8822bu, so we fix it.
>> >
>> > Fixes: 07cef03b8d44 ("wifi: rtw88: Add rtw8822cu chipset support")
>> > Signed-off-by: Po-Hao Huang <phhuang@realtek.com>
>> > Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
>> 
>> I guess this is just a cosmetic change and does not cause any changes in
>> functionality? I can add that to the commit log.
>
> Yes, it doesn't change anything. If Fixes tag is not suitable, please also
> remove it.

Good point, as this is not fixing any functionality in opinion there
should not be a Fixes tag. I'll also remove that.

-- 
https://patchwork.kernel.org/project/linux-wireless/list/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: wifi: rtw88: fix typo rtw8822cu_probe
  2023-08-25  6:24 [PATCH] wifi: rtw88: fix typo rtw8822cu_probe Ping-Ke Shih
  2023-08-25  6:46 ` Kalle Valo
@ 2023-09-04 17:31 ` Kalle Valo
  1 sibling, 0 replies; 5+ messages in thread
From: Kalle Valo @ 2023-09-04 17:31 UTC (permalink / raw)
  To: Ping-Ke Shih; +Cc: phhuang, linux-wireless

Ping-Ke Shih <pkshih@realtek.com> wrote:

> From: Po-Hao Huang <phhuang@realtek.com>
> 
> The probe function of 8822cu is misplaced to 8822bu, so we fix it. Just
> cosmetics, no changes in functionality.
> 
> Signed-off-by: Po-Hao Huang <phhuang@realtek.com>
> Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>

Patch applied to wireless-next.git, thanks.

497840a1fc5c wifi: rtw88: fix typo rtw8822cu_probe

-- 
https://patchwork.kernel.org/project/linux-wireless/patch/20230825062404.50813-1-pkshih@realtek.com/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-09-04 17:31 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-25  6:24 [PATCH] wifi: rtw88: fix typo rtw8822cu_probe Ping-Ke Shih
2023-08-25  6:46 ` Kalle Valo
2023-08-25  7:02   ` Ping-Ke Shih
2023-08-25  7:22     ` Kalle Valo
2023-09-04 17:31 ` Kalle Valo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).