Hello
I own an USB dongle which is a "Davicom DM96xx USB 10/100 Ethernet".
According to the CHIP_ID, it is a DM9620.
Since I needed for bringing network to uboot for a board, I have started to
create its uboot's driver.
My uboot driver is based on the dm9600 Linux driver.
The dongle was working
Hello
When running an imx_defconfig on a imx6q-sabrelite, rmmod g_mass_storage lead
to the following crash:
[ 143.952834] Internal error: Oops: 817 [#1] SMP ARM
[ 143.957639] Modules linked in: dmatest psmouse serport da9063_wdt wl12xx
wl18xx wlcore wlcore_sdio brcmfmac brcmutil mwifiex_sdio m
It's dangerous to use empty code define.
Furthermore it lead to the following warning:
"suggest braces around empty body in an « else » statement"
So let's replace emptyness by "do {} while(0)"
Furthermore, as suggested by Joe Perches, rename the macro to INCR.
All USB_SERIAL_KEYSPAN_X are not used anywhere in kernel tree.
Furthermore all firmware files was removed since commit 2971c579f93bi
("keyspan: use request_firmware()")
So let's clean thoses unused symbols.
Signed-off-by: Corentin Labbe
---
drivers/usb/seri
This patch fix the following build warning:
drivers/usb/musb/musb_host.c:1809:8: warning: variable 'pipe' set but not used
[-Wunused-but-set-variable]
by removing the pipe variable in musb_host_rx()
Signed-off-by: Corentin Labbe
---
drivers/usb/musb/musb_host.c | 3 ---
1 file
This patch fix the following warning
drivers/usb/musb/musb_host.c:223:8: warning: variable 'frame' set but not used
[-Wunused-but-set-variable]
by remove the frame variable in musb_start_urb().
Signed-off-by: Corentin Labbe
---
drivers/usb/musb/musb_host.c | 2 --
1 file changed, 2
This patch fix the following build warnings:
drivers/usb/host/xhci-ring.c:2011:20: warning: variable 'ep_ring' set but not
used [-Wunused-but-set-variable]
Signed-off-by: Corentin Labbe
---
drivers/usb/host/xhci-ring.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/usb
This patch fix the following build warning:
drivers/usb/host/xhci.c:2853:23: warning: variable 'ep' set but not used
[-Wunused-but-set-variable]
Signed-off-by: Corentin Labbe
---
drivers/usb/host/xhci.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/usb/host/xhci.c b/d
This patch fix the following build warning:
drivers/usb/host/xhci-ring.c:1895:19: warning: variable 'urb_priv' set but not
used [-Wunused-but-set-variable]
Signed-off-by: Corentin Labbe
---
drivers/usb/host/xhci-ring.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/usb
This patch fix the following build warnings:
drivers/usb/host/xhci.c:3378:6: warning: variable 'last_freed_endpoint' set but
not used [-Wunused-but-set-variable]
Signed-off-by: Corentin Labbe
---
drivers/usb/host/xhci.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/driver
Hello
This patchset fix some build warnings on usb/xhci.
Regards
Changes since v1:
- Changed subject of patch
Corentin Labbe (4):
usb: xhci: remove unused variable last_freed_endpoint
usb: xhci: remove unused variable ep
usb: xhci: remove unused variable urb_priv
usb: xhci: remove
From: Corentin Labbe
This patch fix the following build warning:
drivers/usb/host/xhci-ring.c:1895:19: warning: variable 'urb_priv' set but not
used [-Wunused-but-set-variable]
Signed-off-by: Corentin Labbe
---
drivers/usb/host/xhci-ring.c | 2 --
1 file changed, 2 deletions(-)
di
From: Corentin Labbe
This patch fix the following build warnings:
drivers/usb/host/xhci-ring.c:2011:20: warning: variable 'ep_ring' set but not
used [-Wunused-but-set-variable]
Signed-off-by: Corentin Labbe
---
drivers/usb/host/xhci-ring.c | 2 --
1 file changed, 2 deletions(-)
di
From: Corentin Labbe
This patch fix the following build warnings:
drivers/usb/host/xhci.c:3378:6: warning: variable 'last_freed_endpoint' set but
not used [-Wunused-but-set-variable]
Signed-off-by: Corentin Labbe
---
drivers/usb/host/xhci.c | 3 ---
1 file changed, 3 deletions(-)
From: Corentin Labbe
This patch fix the following build warning:
drivers/usb/host/xhci.c:2853:23: warning: variable 'ep' set but not used
[-Wunused-but-set-variable]
Signed-off-by: Corentin Labbe
---
drivers/usb/host/xhci.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/d
This patch fix the following build warning:
drivers/usb/host/xhci-ring.c:1895:19: warning: variable 'urb_priv' set but not
used [-Wunused-but-set-variable]
Signed-off-by: Corentin Labbe
---
drivers/usb/host/xhci-ring.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/usb
This patch fix the following build warnings:
drivers/usb/host/xhci.c:3378:6: warning: variable 'last_freed_endpoint' set but
not used [-Wunused-but-set-variable]
Signed-off-by: Corentin Labbe
---
drivers/usb/host/xhci.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/driver
This patch fix the following build warnings:
drivers/usb/host/xhci-ring.c:2011:20: warning: variable 'ep_ring' set but not
used [-Wunused-but-set-variable]
Signed-off-by: Corentin Labbe
---
drivers/usb/host/xhci-ring.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/usb
This patch fix the following build warning:
drivers/usb/host/xhci.c:2853:23: warning: variable 'ep' set but not used
[-Wunused-but-set-variable]
Signed-off-by: Corentin Labbe
---
drivers/usb/host/xhci.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/usb/host/xhci.c b/d
.
Signed-off-by: Corentin Labbe
---
drivers/usb/host/xhci-pci.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/usb/host/xhci-pci.c b/drivers/usb/host/xhci-pci.c
index fcf1f3f63e7a..1bcf971141c0 100644
--- a/drivers/usb/host/xhci-pci.c
+++ b/drivers/usb/host/xhci-pci.c
@@ -201,6 +201,9
Le 16/11/2015 18:07, Felipe Balbi a écrit :
>
> Hi,
>
> LABBE Corentin writes:
>> of_match_device could return NULL, and so cause a NULL pointer
>> dereference later. Renaming id to of_id (like all others do) in the
>> process.
>>
>> Reported-by: coverity (CID 1324133)
>> Signed-off-by: LABBE Co
21 matches
Mail list logo