stdio: Clean up
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | stdio: dm: Remove dead code in console.ccommon/ | +0 | 0 replies | |
| 2/6 | stdio: dm: Add accessors to stdio_devices[]common/ include/ | +28 | 0 replies | |
| 3/6 | stdio: dm: Make stdio_devices[] localcommon/ common/ common/ +3 more | +58 | 1 reply | |
| 3/6 | stdio: dm: Make stdio_devices[] local | +0 | 0 replies | |
| 3/6 | stdio: dm: Make stdio_devices[] local | +0 | 1 reply | |
| 4/6 | stdio: dm: Add stdio_fd_to_name() callcommon/ include/ | +13 | 0 replies | |
| 5/6 | stdio: dm: Use stdio_fd_to_name() call to localize stdio_namescommon/ common/ common/ +1 more | +8 | 0 replies | |
| 6/6 | stdio: dm: Optimize stdio_print_current_devices()common/ | +19 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [U-Boot] [PATCH 0/6] stdio: Clean up
Clean up a few things in STDIO. Mostly, don't export structures directly, but introduce some kind of accessors if needed and remove dead code.
NOTE: I'm still working on the "compile tested on 2 different architectures"
part. I'll keep you posted about that. I'd be glad for a review though. I'd hate to pull in logic errors, especially into such critical code.
NOTE2: Cross-posting cover to DM list, so I get feedback from those guys.
Marek Vasut (6):
stdio: dm: Murder dead code in console.c
stdio: dm: Add accessors to stdio_devices[]
stdio: dm: Make stdio_devices[] local
stdio: dm: Add stdio_fd_to_name() call
stdio: dm: Use stdio_fd_to_name() call to localize stdio_names
stdio: dm: Optimize stdio_print_current_devices()
common/cmd_console.c | 8 ++--- common/cmd_terminal.c | 9 ++++-- common/console.c | 84 ++++++++++++++++++++++++++----------------------- common/fdt_support.c | 8 ++++- common/stdio.c | 46 +++++++++++++++++++++++++-- include/stdio_dev.h | 9 ++---- 6 files changed, 110 insertions(+), 54 deletions(-)
Signature · 1 line
1.7.10.4