Commit Graph
8 Commits
Author SHA1 Message Date
shuhua hua 124690270d shell: flashdev: close fds on allocation failure 2026-09-25 02:05:33 +00:00
Sebastian Huber b6200fc946 cpukit/libmisc/shell: Add the Doxygen file headers
Fifty-five shell files had no Doxygen block.  Seventeen of them hold a
command and 38 hold the imported utility code the commands use.  Doxygen
listed none of them.

Give each file a block with @file, @ingroup and @brief.  The brief names
the command or the utility the file provides.

Every file in cpukit outside contrib has a Doxygen block.  The block of
cfsetspeed.c does not open with two asterisks.  The next commit repairs
it.

Updates #5717.

Assisted-by: Claude:claude-opus-5 claude-code
Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>
2026-09-01 20:17:20 +00:00
Joel Sherrill 3c2592be04 cpukit/libmisc/shell: Correct comparisons of different signedness
The GCC warning -Wsign-compare flagged these instances of comparing
signed and unsigned types. A common pair was size_t and int.
2025-12-04 18:46:23 -05:00
Aaron Nyholm f93f3b87c8 flashdev: Added missing copyright 2025-09-09 16:09:49 +00:00
Aaron Nyholm 87c725b6ed flashdev: Add sector IOCTLs
Added new IOCTLs to flashdev to get sector info.
Updated flashdev shell command and flashdev test with new IOCTLs.
2024-11-06 22:35:20 +00:00
Aaron Nyholm 7bfe79c44d libmisc/shell: Improve print messages for flashdev command 2024-06-10 17:58:00 +00:00
Aaron Nyholm c2913ec414 libmisc/shell: Fix file pointer leak and improved input data sanitation.
Coverity #1530126
Coverity #1530125
2023-05-17 13:41:44 -05:00
Aaron Nyholm 984693a4b3 libmisc/shell: Add flashdev command 2023-05-16 12:48:18 +10:00