commit | ab4d69baf3ea1c2fd57c0d7f810f9482417d4d7c | [log] [tgz] |
---|---|---|
author | Chris Reed <chris.reed@arm.com> | Wed Oct 13 15:02:42 2021 -0500 |
committer | Anas Nashif <anas.nashif@intel.com> | Sat Oct 16 06:23:46 2021 -0400 |
tree | 403e55a715cd9d57e68fee4715dadd8a87c8fe32 | |
parent | 60e780aa8ef135458a8f05f461233384cc5e0680 [diff] |
kernel: work_q: use flags_get() in work_delayable_busy_get_locked(). The k_work::flags field is not an atomic_t and would cause -Wpointer-sign warning on some compilers. This function was the only one in work.c to use atomic_get() so there is no benefit to atomicity. Signed-off-by: Chris Reed <chris.reed@arm.com>