[#5775] RESOURCE_LABEL_SIZE in bfin_gpio.c is 16, but "Blackfin-GPIOlib" is longer (with tailing \0)
Submitted By: Peter Meerwald
2009-12-15 13:03:31 Close Date
Closed Fixed In Release:
Found In Release:
Kernel Functions Board:
ALL Silicon Revision:
Is this bug repeatable?:
Uboot version or rev.:
Toolchain version or rev.:
App binary format:
Summary: RESOURCE_LABEL_SIZE in bfin_gpio.c is 16, but "Blackfin-GPIOlib" is longer (with tailing \0)
bfin-gpio: GPIO 24 is already reserved by Blackfin-GPIOli!
during boot; note that last character of Blackfin-GPIOlib is missing
this is because RESOURCE_LABEL_SIZE in bfin_gpio.c is 16 which is too small for the string Blackfin-GPIOlib when appending a null-character
I suggest to either increase RESOURCE_LABEL_SIZE or rename "Blackfin-GPIOlib" somehow
--- Michael Hennerich 2009-12-16 03:49:10
Renamed -> "BFIN-GPIO"
Fixed on trunk and 2009R1 branch.
File Name File Type File Size Posted By
No Files Were Found