* [PATCH] usb: remove the invalid comments
@ 2025-03-14 7:09 Li Qiong
2025-03-14 7:12 ` Greg Kroah-Hartman
` (2 more replies)
0 siblings, 3 replies; 10+ messages in thread
From: Li Qiong @ 2025-03-14 7:09 UTC (permalink / raw)
To: Peter Chen, Pawel Laszczak
Cc: Roger Quadros, Greg Kroah-Hartman, Michal Simek, linux-usb,
linux-kernel, linux-arm-kernel, Li Qiong
These function don't return value, remove the invalid comments.
Signed-off-by: Li Qiong <liqiong@nfschina.com>
---
drivers/usb/cdns3/cdns3-plat.c | 2 --
drivers/usb/gadget/udc/udc-xilinx.c | 2 --
2 files changed, 4 deletions(-)
diff --git a/drivers/usb/cdns3/cdns3-plat.c b/drivers/usb/cdns3/cdns3-plat.c
index 59ec505e198a..735df88774e4 100644
--- a/drivers/usb/cdns3/cdns3-plat.c
+++ b/drivers/usb/cdns3/cdns3-plat.c
@@ -179,8 +179,6 @@ static int cdns3_plat_probe(struct platform_device *pdev)
/**
* cdns3_plat_remove() - unbind drd driver and clean up
* @pdev: Pointer to Linux platform device
- *
- * Returns 0 on success otherwise negative errno
*/
static void cdns3_plat_remove(struct platform_device *pdev)
{
diff --git a/drivers/usb/gadget/udc/udc-xilinx.c b/drivers/usb/gadget/udc/udc-xilinx.c
index ae2aeb271897..fa94cc065274 100644
--- a/drivers/usb/gadget/udc/udc-xilinx.c
+++ b/drivers/usb/gadget/udc/udc-xilinx.c
@@ -2178,8 +2178,6 @@ static int xudc_probe(struct platform_device *pdev)
/**
* xudc_remove - Releases the resources allocated during the initialization.
* @pdev: pointer to the platform device structure.
- *
- * Return: 0 always
*/
static void xudc_remove(struct platform_device *pdev)
{
--
2.30.2
^ permalink raw reply related [flat|nested] 10+ messages in thread
* Re: [PATCH] usb: remove the invalid comments
2025-03-14 7:09 [PATCH] usb: remove the invalid comments Li Qiong
@ 2025-03-14 7:12 ` Greg Kroah-Hartman
2025-03-14 7:32 ` liqiong
2025-03-14 8:02 ` [PATCH v2 1/2] usb: cdns3: Remove the invalid comment Li Qiong
2025-03-14 10:16 ` [PATCH v3 " Li Qiong
2 siblings, 1 reply; 10+ messages in thread
From: Greg Kroah-Hartman @ 2025-03-14 7:12 UTC (permalink / raw)
To: Li Qiong
Cc: Peter Chen, Pawel Laszczak, Roger Quadros, Michal Simek,
linux-usb, linux-kernel, linux-arm-kernel
On Fri, Mar 14, 2025 at 03:09:21PM +0800, Li Qiong wrote:
> These function don't return value, remove the invalid comments.
>
> Signed-off-by: Li Qiong <liqiong@nfschina.com>
> ---
> drivers/usb/cdns3/cdns3-plat.c | 2 --
> drivers/usb/gadget/udc/udc-xilinx.c | 2 --
This should be 2 different patches, right?
thanks,
greg k-h
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] usb: remove the invalid comments
2025-03-14 7:12 ` Greg Kroah-Hartman
@ 2025-03-14 7:32 ` liqiong
0 siblings, 0 replies; 10+ messages in thread
From: liqiong @ 2025-03-14 7:32 UTC (permalink / raw)
To: Greg Kroah-Hartman
Cc: Peter Chen, Pawel Laszczak, Roger Quadros, Michal Simek,
linux-usb, linux-kernel, linux-arm-kernel
在 2025/3/14 15:12, Greg Kroah-Hartman 写道:
> On Fri, Mar 14, 2025 at 03:09:21PM +0800, Li Qiong wrote:
>> These function don't return value, remove the invalid comments.
>>
>> Signed-off-by: Li Qiong <liqiong@nfschina.com>
>> ---
>> drivers/usb/cdns3/cdns3-plat.c | 2 --
>> drivers/usb/gadget/udc/udc-xilinx.c | 2 --
> This should be 2 different patches, right?
Yeah, I will split this patch and send again.
thanks.
>
> thanks,
>
> greg k-h
^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH v2 1/2] usb: cdns3: Remove the invalid comment
2025-03-14 7:09 [PATCH] usb: remove the invalid comments Li Qiong
2025-03-14 7:12 ` Greg Kroah-Hartman
@ 2025-03-14 8:02 ` Li Qiong
2025-03-14 8:02 ` [PATCH v2 2/2] usb: gadget: udc-xilinx: " Li Qiong
2025-03-14 8:19 ` [PATCH v2 1/2] usb: cdns3: " Greg Kroah-Hartman
2025-03-14 10:16 ` [PATCH v3 " Li Qiong
2 siblings, 2 replies; 10+ messages in thread
From: Li Qiong @ 2025-03-14 8:02 UTC (permalink / raw)
To: Peter Chen, Pawel Laszczak
Cc: Li Qiong, Roger Quadros, Greg Kroah-Hartman, linux-usb,
linux-kernel
The function don't return value, remove the invalid comment.
Signed-off-by: Li Qiong <liqiong@nfschina.com>
---
drivers/usb/cdns3/cdns3-plat.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/usb/cdns3/cdns3-plat.c b/drivers/usb/cdns3/cdns3-plat.c
index 59ec505e198a..735df88774e4 100644
--- a/drivers/usb/cdns3/cdns3-plat.c
+++ b/drivers/usb/cdns3/cdns3-plat.c
@@ -179,8 +179,6 @@ static int cdns3_plat_probe(struct platform_device *pdev)
/**
* cdns3_plat_remove() - unbind drd driver and clean up
* @pdev: Pointer to Linux platform device
- *
- * Returns 0 on success otherwise negative errno
*/
static void cdns3_plat_remove(struct platform_device *pdev)
{
--
2.30.2
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [PATCH v2 2/2] usb: gadget: udc-xilinx: Remove the invalid comment
2025-03-14 8:02 ` [PATCH v2 1/2] usb: cdns3: Remove the invalid comment Li Qiong
@ 2025-03-14 8:02 ` Li Qiong
2025-03-14 8:19 ` [PATCH v2 1/2] usb: cdns3: " Greg Kroah-Hartman
1 sibling, 0 replies; 10+ messages in thread
From: Li Qiong @ 2025-03-14 8:02 UTC (permalink / raw)
To: Greg Kroah-Hartman, Michal Simek
Cc: Li Qiong, linux-usb, linux-arm-kernel, linux-kernel
The function don't return value, remove the invalid comment.
Signed-off-by: Li Qiong <liqiong@nfschina.com>
---
drivers/usb/gadget/udc/udc-xilinx.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/usb/gadget/udc/udc-xilinx.c b/drivers/usb/gadget/udc/udc-xilinx.c
index ae2aeb271897..fa94cc065274 100644
--- a/drivers/usb/gadget/udc/udc-xilinx.c
+++ b/drivers/usb/gadget/udc/udc-xilinx.c
@@ -2178,8 +2178,6 @@ static int xudc_probe(struct platform_device *pdev)
/**
* xudc_remove - Releases the resources allocated during the initialization.
* @pdev: pointer to the platform device structure.
- *
- * Return: 0 always
*/
static void xudc_remove(struct platform_device *pdev)
{
--
2.30.2
^ permalink raw reply related [flat|nested] 10+ messages in thread
* Re: [PATCH v2 1/2] usb: cdns3: Remove the invalid comment
2025-03-14 8:02 ` [PATCH v2 1/2] usb: cdns3: Remove the invalid comment Li Qiong
2025-03-14 8:02 ` [PATCH v2 2/2] usb: gadget: udc-xilinx: " Li Qiong
@ 2025-03-14 8:19 ` Greg Kroah-Hartman
2025-03-14 10:00 ` liqiong
1 sibling, 1 reply; 10+ messages in thread
From: Greg Kroah-Hartman @ 2025-03-14 8:19 UTC (permalink / raw)
To: Li Qiong; +Cc: Peter Chen, Pawel Laszczak, Roger Quadros, linux-usb,
linux-kernel
On Fri, Mar 14, 2025 at 04:02:48PM +0800, Li Qiong wrote:
> The function don't return value, remove the invalid comment.
>
> Signed-off-by: Li Qiong <liqiong@nfschina.com>
> ---
> drivers/usb/cdns3/cdns3-plat.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/drivers/usb/cdns3/cdns3-plat.c b/drivers/usb/cdns3/cdns3-plat.c
> index 59ec505e198a..735df88774e4 100644
> --- a/drivers/usb/cdns3/cdns3-plat.c
> +++ b/drivers/usb/cdns3/cdns3-plat.c
> @@ -179,8 +179,6 @@ static int cdns3_plat_probe(struct platform_device *pdev)
> /**
> * cdns3_plat_remove() - unbind drd driver and clean up
> * @pdev: Pointer to Linux platform device
> - *
> - * Returns 0 on success otherwise negative errno
> */
> static void cdns3_plat_remove(struct platform_device *pdev)
> {
> --
> 2.30.2
>
>
Hi,
This is the friendly patch-bot of Greg Kroah-Hartman. You have sent him
a patch that has triggered this response. He used to manually respond
to these common problems, but in order to save his sanity (he kept
writing the same thing over and over, yet to different people), I was
created. Hopefully you will not take offence and will fix the problem
in your patch and resubmit it so that it can be accepted into the Linux
kernel tree.
You are receiving this message because of the following common error(s)
as indicated below:
- This looks like a new version of a previously submitted patch, but you
did not list below the --- line any changes from the previous version.
Please read the section entitled "The canonical patch format" in the
kernel file, Documentation/process/submitting-patches.rst for what
needs to be done here to properly describe this.
If you wish to discuss this problem further, or you have questions about
how to resolve this issue, please feel free to respond to this email and
Greg will reply once he has dug out from the pending patches received
from other developers.
thanks,
greg k-h's patch email bot
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH v2 1/2] usb: cdns3: Remove the invalid comment
2025-03-14 8:19 ` [PATCH v2 1/2] usb: cdns3: " Greg Kroah-Hartman
@ 2025-03-14 10:00 ` liqiong
0 siblings, 0 replies; 10+ messages in thread
From: liqiong @ 2025-03-14 10:00 UTC (permalink / raw)
To: Greg Kroah-Hartman
Cc: Peter Chen, Pawel Laszczak, Roger Quadros, linux-usb,
linux-kernel
在 2025/3/14 16:19, Greg Kroah-Hartman 写道:
> On Fri, Mar 14, 2025 at 04:02:48PM +0800, Li Qiong wrote:
>> The function don't return value, remove the invalid comment.
>>
>> Signed-off-by: Li Qiong <liqiong@nfschina.com>
>> ---
>> drivers/usb/cdns3/cdns3-plat.c | 2 --
>> 1 file changed, 2 deletions(-)
>>
>> diff --git a/drivers/usb/cdns3/cdns3-plat.c b/drivers/usb/cdns3/cdns3-plat.c
>> index 59ec505e198a..735df88774e4 100644
>> --- a/drivers/usb/cdns3/cdns3-plat.c
>> +++ b/drivers/usb/cdns3/cdns3-plat.c
>> @@ -179,8 +179,6 @@ static int cdns3_plat_probe(struct platform_device *pdev)
>> /**
>> * cdns3_plat_remove() - unbind drd driver and clean up
>> * @pdev: Pointer to Linux platform device
>> - *
>> - * Returns 0 on success otherwise negative errno
>> */
>> static void cdns3_plat_remove(struct platform_device *pdev)
>> {
>> --
>> 2.30.2
>>
>>
> Hi,
>
> This is the friendly patch-bot of Greg Kroah-Hartman. You have sent him
> a patch that has triggered this response. He used to manually respond
> to these common problems, but in order to save his sanity (he kept
> writing the same thing over and over, yet to different people), I was
> created. Hopefully you will not take offence and will fix the problem
> in your patch and resubmit it so that it can be accepted into the Linux
> kernel tree.
>
> You are receiving this message because of the following common error(s)
> as indicated below:
>
> - This looks like a new version of a previously submitted patch, but you
> did not list below the --- line any changes from the previous version.
> Please read the section entitled "The canonical patch format" in the
> kernel file, Documentation/process/submitting-patches.rst for what
> needs to be done here to properly describe this.
>
> If you wish to discuss this problem further, or you have questions about
> how to resolve this issue, please feel free to respond to this email and
> Greg will reply once he has dug out from the pending patches received
> from other developers.
>
> thanks,
>
> greg k-h's patch email bot
Thanks, I will resend v3 patch.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH v3 1/2] usb: cdns3: Remove the invalid comment
2025-03-14 7:09 [PATCH] usb: remove the invalid comments Li Qiong
2025-03-14 7:12 ` Greg Kroah-Hartman
2025-03-14 8:02 ` [PATCH v2 1/2] usb: cdns3: Remove the invalid comment Li Qiong
@ 2025-03-14 10:16 ` Li Qiong
2025-03-14 10:16 ` [PATCH v3 2/2] usb: gadget: udc-xilinx: " Li Qiong
2025-03-17 3:28 ` [PATCH v3 1/2] usb: cdns3: " Peter Chen (CIX)
2 siblings, 2 replies; 10+ messages in thread
From: Li Qiong @ 2025-03-14 10:16 UTC (permalink / raw)
To: Peter Chen, Pawel Laszczak
Cc: Li Qiong, Roger Quadros, Greg Kroah-Hartman, linux-usb,
linux-kernel
The function don't return value, remove the invalid comment.
Signed-off-by: Li Qiong <liqiong@nfschina.com>
---
v2: Split the first patch to two patches.
v3: Add changes from the previous version.
drivers/usb/cdns3/cdns3-plat.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/usb/cdns3/cdns3-plat.c b/drivers/usb/cdns3/cdns3-plat.c
index 59ec505e198a..735df88774e4 100644
--- a/drivers/usb/cdns3/cdns3-plat.c
+++ b/drivers/usb/cdns3/cdns3-plat.c
@@ -179,8 +179,6 @@ static int cdns3_plat_probe(struct platform_device *pdev)
/**
* cdns3_plat_remove() - unbind drd driver and clean up
* @pdev: Pointer to Linux platform device
- *
- * Returns 0 on success otherwise negative errno
*/
static void cdns3_plat_remove(struct platform_device *pdev)
{
--
2.30.2
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [PATCH v3 2/2] usb: gadget: udc-xilinx: Remove the invalid comment
2025-03-14 10:16 ` [PATCH v3 " Li Qiong
@ 2025-03-14 10:16 ` Li Qiong
2025-03-17 3:28 ` [PATCH v3 1/2] usb: cdns3: " Peter Chen (CIX)
1 sibling, 0 replies; 10+ messages in thread
From: Li Qiong @ 2025-03-14 10:16 UTC (permalink / raw)
To: Greg Kroah-Hartman, Michal Simek
Cc: Li Qiong, linux-usb, linux-arm-kernel, linux-kernel
The function don't return value, remove the invalid comment.
Signed-off-by: Li Qiong <liqiong@nfschina.com>
---
v2: Split the first patch to two patches.
v3: Add changes from the previous version.
drivers/usb/gadget/udc/udc-xilinx.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/usb/gadget/udc/udc-xilinx.c b/drivers/usb/gadget/udc/udc-xilinx.c
index ae2aeb271897..fa94cc065274 100644
--- a/drivers/usb/gadget/udc/udc-xilinx.c
+++ b/drivers/usb/gadget/udc/udc-xilinx.c
@@ -2178,8 +2178,6 @@ static int xudc_probe(struct platform_device *pdev)
/**
* xudc_remove - Releases the resources allocated during the initialization.
* @pdev: pointer to the platform device structure.
- *
- * Return: 0 always
*/
static void xudc_remove(struct platform_device *pdev)
{
--
2.30.2
^ permalink raw reply related [flat|nested] 10+ messages in thread
* Re: [PATCH v3 1/2] usb: cdns3: Remove the invalid comment
2025-03-14 10:16 ` [PATCH v3 " Li Qiong
2025-03-14 10:16 ` [PATCH v3 2/2] usb: gadget: udc-xilinx: " Li Qiong
@ 2025-03-17 3:28 ` Peter Chen (CIX)
1 sibling, 0 replies; 10+ messages in thread
From: Peter Chen (CIX) @ 2025-03-17 3:28 UTC (permalink / raw)
To: Li Qiong
Cc: Pawel Laszczak, Roger Quadros, Greg Kroah-Hartman, linux-usb,
linux-kernel
On 25-03-14 18:16:38, Li Qiong wrote:
> The function don't return value, remove the invalid comment.
>
> Signed-off-by: Li Qiong <liqiong@nfschina.com>
Acked-by: Peter Chen <peter.chen@kernel.org>
> ---
> v2: Split the first patch to two patches.
> v3: Add changes from the previous version.
>
> drivers/usb/cdns3/cdns3-plat.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/drivers/usb/cdns3/cdns3-plat.c b/drivers/usb/cdns3/cdns3-plat.c
> index 59ec505e198a..735df88774e4 100644
> --- a/drivers/usb/cdns3/cdns3-plat.c
> +++ b/drivers/usb/cdns3/cdns3-plat.c
> @@ -179,8 +179,6 @@ static int cdns3_plat_probe(struct platform_device *pdev)
> /**
> * cdns3_plat_remove() - unbind drd driver and clean up
> * @pdev: Pointer to Linux platform device
> - *
> - * Returns 0 on success otherwise negative errno
> */
> static void cdns3_plat_remove(struct platform_device *pdev)
> {
> --
> 2.30.2
>
--
Best regards,
Peter
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2025-03-17 3:28 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-14 7:09 [PATCH] usb: remove the invalid comments Li Qiong
2025-03-14 7:12 ` Greg Kroah-Hartman
2025-03-14 7:32 ` liqiong
2025-03-14 8:02 ` [PATCH v2 1/2] usb: cdns3: Remove the invalid comment Li Qiong
2025-03-14 8:02 ` [PATCH v2 2/2] usb: gadget: udc-xilinx: " Li Qiong
2025-03-14 8:19 ` [PATCH v2 1/2] usb: cdns3: " Greg Kroah-Hartman
2025-03-14 10:00 ` liqiong
2025-03-14 10:16 ` [PATCH v3 " Li Qiong
2025-03-14 10:16 ` [PATCH v3 2/2] usb: gadget: udc-xilinx: " Li Qiong
2025-03-17 3:28 ` [PATCH v3 1/2] usb: cdns3: " Peter Chen (CIX)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox