git://developer.intra2net.com
/
libftdi
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
2c1e2bd
)
Address one more compile warning / add FIXME comment for Uwe
author
Thomas Jarosch
<thomas.jarosch@intra2net.com>
Sat, 15 Jan 2011 15:38:26 +0000 (16:38 +0100)
committer
Thomas Jarosch
<thomas.jarosch@intra2net.com>
Sat, 15 Jan 2011 15:38:26 +0000 (16:38 +0100)
src/ftdi.c
patch
|
blob
|
blame
|
history
diff --git
a/src/ftdi.c
b/src/ftdi.c
index
d7843ff
..
1e92dc5
100644
(file)
--- a/
src/ftdi.c
+++ b/
src/ftdi.c
@@
-2958,8
+2958,15
@@
int ftdi_eeprom_decode(struct ftdi_context *ftdi, int verbose)
fprintf(stdout,"C%d Function: %s\n", i,
cbus_mux[eeprom->cbus_function[i]]);
else
+ {
+ /* FIXME for Uwe: This results in an access above array bounds.
+ Also I couldn't find documentation about this mode.
fprintf(stdout,"C%d BB Function: %s\n", i,
cbus_BB[i]);
+ */
+ fprintf(stdout, "Unknown CBUS mode. Might be special mode?\n");
+ (void)cbus_BB;
+ }
}
}
}