diff options
author | 2024-08-13 08:52:07 +0900 | |
---|---|---|
committer | 2024-08-13 08:52:07 +0900 | |
commit | ced2da31b87fc5389d6babfb755d0fc3355aba56 (patch) | |
tree | 17d74fa0d30814ab2814a86f71b55b1c2f1f7eb5 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | firewire: core: minor code refactoring to release client resource (diff) | |
download | wireguard-linux-ced2da31b87fc5389d6babfb755d0fc3355aba56.tar.xz wireguard-linux-ced2da31b87fc5389d6babfb755d0fc3355aba56.zip |
firewire: core: add helper functions to convert to parent resource structure
All of local resource structure commonly have data of client_resource type
in its first member. This design sometimes requires usage of
container_of to retrieve parent structure by the first member.
This commit adds some helper functions for this purpose.
Link: https://lore.kernel.org/r/20240812235210.28458-3-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions