Skip to content

Conversation

@cfriedt
Copy link
Member

@cfriedt cfriedt commented Dec 22, 2025

Fix Coverity CIDs 316801 and 434530 (comparing an unsigned value to zero).

Fixes #99971
Fixes #99977

Fix Coverity CIDs 316801 and 434530 (comparing an unsigned value to zero).

Signed-off-by: Chris Friedt <[email protected]>
@zephyrbot zephyrbot added size: XS A PR changing only a single line of code area: POSIX POSIX API Library labels Dec 22, 2025
@zephyrbot zephyrbot requested a review from ycsin December 22, 2025 22:49
@sonarqubecloud
Copy link


/* The minimum allowable stack size */
#define PTHREAD_STACK_MIN K_KERNEL_STACK_LEN(0)
#define PTHREAD_STACK_MIN CONFIG_IDLE_STACK_SIZE
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe a comment to explain why CONFIG_IDLE_STACK_SIZE is used instead of 0?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: POSIX POSIX API Library size: XS A PR changing only a single line of code

Projects

None yet

3 participants