diff options
| author | Takashi Sakamoto <[email protected]> | 2024-08-13 08:52:07 +0900 |
|---|---|---|
| committer | Takashi Sakamoto <[email protected]> | 2024-08-13 08:52:07 +0900 |
| commit | ced2da31b87fc5389d6babfb755d0fc3355aba56 (patch) | |
| tree | 17d74fa0d30814ab2814a86f71b55b1c2f1f7eb5 /tools/perf/scripts/python | |
| parent | 3b443fe087889cf6c9c133638f36da5617431703 (diff) | |
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/[email protected]
Signed-off-by: Takashi Sakamoto <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions