Skip to content
Commit a95ae671 authored by Jukka Rissanen's avatar Jukka Rissanen Committed by Maureen Helm
Browse files

net: tcp2: Access k_work in k_delayed_work using field name



Instead of casting k_delayed_work directly to k_work, use the
k_work field name. This avoids warnings from Coverity and
allows the code to work even if the k_delayed_work fields are
re-ordered in the future.

Coverity-CID: 214346
Fixes #28659

Signed-off-by: default avatarJukka Rissanen <jukka.rissanen@linux.intel.com>
parent 74be1616
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment