mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 03:15:31 +09:00
UPSTREAM: usb: dwc3: Fix bare use of unsigned checkpatch warning
Fixes the bare use of unsigned warning from checkpatch.pl in core.c by
changing 'unsigned' to 'unsigned int'.
Change-Id: I887e31d6592f3b753fbce3a644e6691b87bf0efc
Signed-off-by: Kushagra Verma <kushagra765@outlook.com>
Link: https://lore.kernel.org/r/HK0PR01MB280160BCA168FA9FE159F02AF8D39@HK0PR01MB2801.apcprd01.prod.exchangelabs.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
(cherry picked from commit ca80ca6186)
This commit is contained in:
committed by
Tao Huang
parent
873b6da780
commit
1c05ec4e21
@@ -386,7 +386,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;
|
||||
|
||||
@@ -429,7 +429,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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user