commit | 731241f8d049924591cf4f46dda26ddd0782d8c7 | [log] [tgz] |
---|---|---|
author | Yong Cong Sin <yongcong.sin@gmail.com> | Wed Jan 19 12:07:51 2022 +0800 |
committer | Anas Nashif <anas.nashif@intel.com> | Wed Feb 02 18:43:12 2022 -0500 |
tree | 4d6c4e8ca61a4e2ea2808fc1f02c670ed3c93c54 | |
parent | 6964f2b130c92603813b9b4cb84d2a54becabacf [diff] |
kernel: workq: Fix type errors in delayable work handlers A common pattern here was to take the work item as the subfield of a containing object. But the contained field is not a k_work, it's a k_work_delayable. Things were working only because the work field was first, so the pointers had the same value. Do things right and fix things to produce correct code if/when that field ever moves within delayable. Signed-off-by: Yong Cong Sin <yongcong.sin@gmail.com>