git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Modules/E1000 - (minor) Logging when init fails
[tpg/acess2.git]
/
KernelLand
/
Modules
/
USB
/
Core
/
usb_devinit.c
diff --git
a/KernelLand/Modules/USB/Core/usb_devinit.c
b/KernelLand/Modules/USB/Core/usb_devinit.c
index
0da8c85
..
c9655cb
100644
(file)
--- a/
KernelLand/Modules/USB/Core/usb_devinit.c
+++ b/
KernelLand/Modules/USB/Core/usb_devinit.c
@@
-362,6
+362,7
@@
void USB_SetDeviceDataPtr(tUSBInterface *Dev, void *Ptr) { Dev->Data = Ptr; }
int USB_int_AllocateAddress(tUSBHost *Host)
{
int i;
+ ASSERT(Host);
for( i = 1; i < 128; i ++ )
{
if(Host->AddressBitmap[i/8] & (1 << (i%8)))
UCC
git Repository :: git.ucc.asn.au