[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240709030604.1347546-1-shivani07g@gmail.com>
Date: Tue, 9 Jul 2024 03:06:04 +0000
From: Shivani Gupta <shivani07g@...il.com>
To: laurent.pinchart@...asonboard.com,
mchehab@...nel.org
Cc: Shivani Gupta <shivani07g@...il.com>,
linux-media@...r.kernel.org,
linux-kernel@...r.kernel.org,
mathias.nyman@...el.com,
gregkh@...uxfoundation.org,
linux-usb@...r.kernel.org,
skhan@...uxfoundation.org,
javier.carrasco.cruz@...il.com
Subject: [PATCH] usb: xhci: Fix compiler warning in xhci.c
Fixes the following compiler warnings by changing the comment syntax
from "/**" to "/*" in the specified comments:
drivers/usb/host/xhci.c:1369: warning: Function parameter or struct member
'desc' not described in 'xhci_get_endpoint_index'
Signed-off-by: Shivani Gupta <shivani07g@...il.com>
---
drivers/usb/host/xhci.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/host/xhci.c b/drivers/usb/host/xhci.c
index 37eb37b0affa..67168661aa52 100644
--- a/drivers/usb/host/xhci.c
+++ b/drivers/usb/host/xhci.c
@@ -1355,7 +1355,7 @@ static void xhci_unmap_urb_for_dma(struct usb_hcd *hcd, struct urb *urb)
usb_hcd_unmap_urb_for_dma(hcd, urb);
}
-/**
+/*
* xhci_get_endpoint_index - Used for passing endpoint bitmasks between the core and
* HCDs. Find the index for an endpoint given its descriptor. Use the return
* value to right shift 1 for the bitmask.
--
2.34.1
Powered by blists - more mailing lists