mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2] Documentation: usb: dwc3: remove deprecated member
@ 2024-11-19 15:43 Luis Felipe Hernandez
  2024-11-19 17:08 ` Greg KH
  2024-11-19 18:32 ` Ricardo B. Marliere
  0 siblings, 2 replies; 3+ messages in thread
From: Luis Felipe Hernandez @ 2024-11-19 15:43 UTC (permalink / raw)
  To: Thinh.Nguyen, gregkh
  Cc: Luis Felipe Hernandez, skhan, ricardo, linux-usb,
	linux-kernel-mentees, linux-kernel

This patch updates the documentation for the dwc3_request struct,
removing the sg (scatter list pointer) member.

- Remove 'sg' in the doc block for dwc3_request

This change resolves a documentation warning related to the missing
description for this field.

Signed-off-by: Luis Felipe Hernandez <luis.hernandez093@gmail.com>
---
v1->v2: remove unused sg struct member as per review[1]
[1] https://lore.kernel.org/linux-usb/20241119020807.cn7ugxnhbkqwrr2b@synopsys.com/#t
---
 drivers/usb/dwc3/core.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/usb/dwc3/core.h b/drivers/usb/dwc3/core.h
index ee73789326bc..3be069c4520e 100644
--- a/drivers/usb/dwc3/core.h
+++ b/drivers/usb/dwc3/core.h
@@ -956,7 +956,6 @@ struct dwc3_request {
 	struct usb_request	request;
 	struct list_head	list;
 	struct dwc3_ep		*dep;
-	struct scatterlist	*sg;
 	struct scatterlist	*start_sg;
 
 	unsigned int		num_pending_sgs;
-- 
2.47.0


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

* Re: [PATCH v2] Documentation: usb: dwc3: remove deprecated member
  2024-11-19 15:43 [PATCH v2] Documentation: usb: dwc3: remove deprecated member Luis Felipe Hernandez
@ 2024-11-19 17:08 ` Greg KH
  2024-11-19 18:32 ` Ricardo B. Marliere
  1 sibling, 0 replies; 3+ messages in thread
From: Greg KH @ 2024-11-19 17:08 UTC (permalink / raw)
  To: Luis Felipe Hernandez
  Cc: Thinh.Nguyen, skhan, ricardo, linux-usb, linux-kernel-mentees,
	linux-kernel

On Tue, Nov 19, 2024 at 10:43:07AM -0500, Luis Felipe Hernandez wrote:
> This patch updates the documentation for the dwc3_request struct,
> removing the sg (scatter list pointer) member.
> 
> - Remove 'sg' in the doc block for dwc3_request
> 
> This change resolves a documentation warning related to the missing
> description for this field.
> 
> Signed-off-by: Luis Felipe Hernandez <luis.hernandez093@gmail.com>
> ---
> v1->v2: remove unused sg struct member as per review[1]
> [1] https://lore.kernel.org/linux-usb/20241119020807.cn7ugxnhbkqwrr2b@synopsys.com/#t
> ---
>  drivers/usb/dwc3/core.h | 1 -
>  1 file changed, 1 deletion(-)

What about the "Reported-by:" tag?

thanks,

greg k-h

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

* Re: [PATCH v2] Documentation: usb: dwc3: remove deprecated member
  2024-11-19 15:43 [PATCH v2] Documentation: usb: dwc3: remove deprecated member Luis Felipe Hernandez
  2024-11-19 17:08 ` Greg KH
@ 2024-11-19 18:32 ` Ricardo B. Marliere
  1 sibling, 0 replies; 3+ messages in thread
From: Ricardo B. Marliere @ 2024-11-19 18:32 UTC (permalink / raw)
  To: Luis Felipe Hernandez
  Cc: Thinh.Nguyen, gregkh, skhan, ricardo, linux-usb,
	linux-kernel-mentees, linux-kernel

On 19 Nov 24 10:43, Luis Felipe Hernandez wrote:
> This patch updates the documentation for the dwc3_request struct,
> removing the sg (scatter list pointer) member.
> 
> - Remove 'sg' in the doc block for dwc3_request
> 
> This change resolves a documentation warning related to the missing
> description for this field.
> 
> Signed-off-by: Luis Felipe Hernandez <luis.hernandez093@gmail.com>

Reviewed-by: Ricardo B. Marliere <rbm@suse.com>

> ---
> v1->v2: remove unused sg struct member as per review[1]
> [1] https://lore.kernel.org/linux-usb/20241119020807.cn7ugxnhbkqwrr2b@synopsys.com/#t
> ---
>  drivers/usb/dwc3/core.h | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/usb/dwc3/core.h b/drivers/usb/dwc3/core.h
> index ee73789326bc..3be069c4520e 100644
> --- a/drivers/usb/dwc3/core.h
> +++ b/drivers/usb/dwc3/core.h
> @@ -956,7 +956,6 @@ struct dwc3_request {
>  	struct usb_request	request;
>  	struct list_head	list;
>  	struct dwc3_ep		*dep;
> -	struct scatterlist	*sg;
>  	struct scatterlist	*start_sg;
>  
>  	unsigned int		num_pending_sgs;
> -- 
> 2.47.0
> 

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

end of thread, other threads:[~2024-11-19 18:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-11-19 15:43 [PATCH v2] Documentation: usb: dwc3: remove deprecated member Luis Felipe Hernandez
2024-11-19 17:08 ` Greg KH
2024-11-19 18:32 ` Ricardo B. Marliere

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®