* [PATCH v2 1/3] usb: dwc3: Fix bare use of unsigned checkpatch warning
[not found] <20220520121047.21026-1-kushagra765@outlook.com>
@ 2022-05-20 12:10 ` Kushagra Verma
2022-05-20 12:10 ` [PATCH v2 2/3] usb: dwc3: Fix a repeated word " Kushagra Verma
2022-05-20 12:10 ` [PATCH v2 3/3] usb: dwc3: Fix typos in Kconfig Kushagra Verma
2 siblings, 0 replies; 3+ messages in thread
From: Kushagra Verma @ 2022-05-20 12:10 UTC (permalink / raw)
To: Felipe Balbi, Greg Kroah-Hartman, linux-usb, linux-kernel
Fixes the bare use of unsigned warning from checkpatch.pl in core.c by
changing 'unsigned' to 'unsigned int'.
Signed-off-by: Kushagra Verma <kushagra765@outlook.com>
---
drivers/usb/dwc3/core.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c
index e027c0420dc3..de3f52a63595 100644
--- a/drivers/usb/dwc3/core.c
+++ b/drivers/usb/dwc3/core.c
@@ -426,7 +426,7 @@ static void dwc3_free_one_event_buffer(struct dwc3 *dwc,
* otherwise ERR_PTR(errno).
*/
static struct dwc3_event_buffer *dwc3_alloc_one_event_buffer(struct dwc3 *dwc,
- unsigned length)
+ unsigned int length)
{
struct dwc3_event_buffer *evt;
@@ -469,7 +469,7 @@ static void dwc3_free_event_buffers(struct dwc3 *dwc)
* Returns 0 on success otherwise negative errno. In the error case, dwc
* may contain some buffers allocated but not all which were requested.
*/
-static int dwc3_alloc_event_buffers(struct dwc3 *dwc, unsigned length)
+static int dwc3_alloc_event_buffers(struct dwc3 *dwc, unsigned int length)
{
struct dwc3_event_buffer *evt;
--
2.36.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH v2 2/3] usb: dwc3: Fix a repeated word checkpatch warning
[not found] <20220520121047.21026-1-kushagra765@outlook.com>
2022-05-20 12:10 ` [PATCH v2 1/3] usb: dwc3: Fix bare use of unsigned checkpatch warning Kushagra Verma
@ 2022-05-20 12:10 ` Kushagra Verma
2022-05-20 12:10 ` [PATCH v2 3/3] usb: dwc3: Fix typos in Kconfig Kushagra Verma
2 siblings, 0 replies; 3+ messages in thread
From: Kushagra Verma @ 2022-05-20 12:10 UTC (permalink / raw)
To: Felipe Balbi, Greg Kroah-Hartman, linux-usb, linux-kernel
Fixes a repeated word checkpatch warning in ep0.c by removing the repeated
'only' word.
Signed-off-by: Kushagra Verma <kushagra765@outlook.com>
---
drivers/usb/dwc3/ep0.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/dwc3/ep0.c b/drivers/usb/dwc3/ep0.c
index 5d642660fd15..2a510e84eef4 100644
--- a/drivers/usb/dwc3/ep0.c
+++ b/drivers/usb/dwc3/ep0.c
@@ -473,7 +473,7 @@ static int dwc3_ep0_handle_device(struct dwc3 *dwc,
case USB_DEVICE_REMOTE_WAKEUP:
break;
/*
- * 9.4.1 says only only for SS, in AddressState only for
+ * 9.4.1 says only for SS, in AddressState only for
* default control pipe
*/
case USB_DEVICE_U1_ENABLE:
--
2.36.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH v2 3/3] usb: dwc3: Fix typos in Kconfig
[not found] <20220520121047.21026-1-kushagra765@outlook.com>
2022-05-20 12:10 ` [PATCH v2 1/3] usb: dwc3: Fix bare use of unsigned checkpatch warning Kushagra Verma
2022-05-20 12:10 ` [PATCH v2 2/3] usb: dwc3: Fix a repeated word " Kushagra Verma
@ 2022-05-20 12:10 ` Kushagra Verma
2 siblings, 0 replies; 3+ messages in thread
From: Kushagra Verma @ 2022-05-20 12:10 UTC (permalink / raw)
To: Felipe Balbi, Greg Kroah-Hartman, linux-usb, linux-kernel
Fixes the following 2 typos in Kconfig:
1. is -> as
2. progammed -> programmed
Signed-off-by: Kushagra Verma <kushagra765@outlook.com>
---
drivers/usb/dwc3/Kconfig | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/dwc3/Kconfig b/drivers/usb/dwc3/Kconfig
index cd9a734522a7..03ededa86da1 100644
--- a/drivers/usb/dwc3/Kconfig
+++ b/drivers/usb/dwc3/Kconfig
@@ -9,7 +9,7 @@ config USB_DWC3
Say Y or M here if your system has a Dual Role SuperSpeed
USB controller based on the DesignWare USB3 IP Core.
- If you choose to build this driver is a dynamically linked
+ If you choose to build this driver as a dynamically linked
module, the module will be called dwc3.ko.
if USB_DWC3
@@ -165,7 +165,7 @@ config USB_DWC3_AM62
default USB_DWC3
help
Support TI's AM62 platforms with DesignWare Core USB3 IP.
- The Designware Core USB3 IP is progammed to operate in
+ The Designware Core USB3 IP is programmed to operate in
in USB 2.0 mode only.
Say 'Y' or 'M' here if you have one such device
endif
--
2.36.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-05-20 12:11 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20220520121047.21026-1-kushagra765@outlook.com>
2022-05-20 12:10 ` [PATCH v2 1/3] usb: dwc3: Fix bare use of unsigned checkpatch warning Kushagra Verma
2022-05-20 12:10 ` [PATCH v2 2/3] usb: dwc3: Fix a repeated word " Kushagra Verma
2022-05-20 12:10 ` [PATCH v2 3/3] usb: dwc3: Fix typos in Kconfig Kushagra Verma
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).