stdio: extend "name" to 32 symbols
PATCH 1/1 stdio: extend "name" to 32 symbols
With limit of 16 symbols very simple device names derived drom device tree description could not be displayed correctly.
For example "serial0 at 0xc0fc1000" will be truncated to sensless "serial0 at 0xc0fc10" - note dropped tariling zeros.
Signed-off-by Alexey Brodkin <[email protected]>
Cc Simon Glass <[email protected]>
Cc Tom Rini <[email protected]>
--- include/stdio_dev.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/stdio_dev.h +1 -1
@@ -23,7 +23,7 @@struct stdio_dev {int flags;/* Device flags: input/output/system */ int ext;/* Supported extensions */ -char name[16 ];/* Device name */ +char name[32 ];/* Device name */ /* GENERAL functions */
Signature · 1 line
2.1.0
PATCH 1/1 stdio: extend "name" to 32 symbols
Quoted 5 lines · Alexey Brodkin
With limit of 16 symbols very simple device names derived drom device tree description could not be displayed correctly.
For example "serial0 at
0xc0fc1000" will be truncated to sensless "serial0 at0xc0fc10" - note dropped tariling zeros.
trailing
Quoted 4 lines
Signed-off-by Alexey Brodkin <[email protected]>Cc Simon Glass <[email protected]>Cc Tom Rini <[email protected]>
Reviewed-by Simon Glass <[email protected]>
Quoted 20 lines
--- include/stdio_dev.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)include/stdio_dev.h +1
-2@@ -23,7 +23,7 @@struct stdio_dev {int flags;/* Device flags: input/output/system */ int ext;/* Supported extensions */ -char name[16 ];/* Device name */ +char name[32 ];/* Device name */ /* GENERAL functions */ --2.1.0