diff options
author | Mateusz Guzik <mjguzik@gmail.com> | 2025-01-27 21:54:04 +0100 |
---|---|---|
committer | John Johansen <john.johansen@canonical.com> | 2025-02-10 11:17:59 -0800 |
commit | 67e370aa7f968f6a4f3573ed61a77b36d1b26475 (patch) | |
tree | be3ee4e0389eccbd147455edec814b1877ba0153 /tools/perf/scripts/python/flamegraph.py | |
parent | aabbe6f908d8264cd8aeeef8141665f71668ef36 (diff) |
apparmor: use the condition in AA_BUG_FMT even with debug disabled
This follows the established practice and fixes a build failure for me:
security/apparmor/file.c: In function ‘__file_sock_perm’:
security/apparmor/file.c:544:24: error: unused variable ‘sock’ [-Werror=unused-variable]
544 | struct socket *sock = (struct socket *) file->private_data;
| ^~~~
Signed-off-by: Mateusz Guzik <mjguzik@gmail.com>
Signed-off-by: John Johansen <john.johansen@canonical.com>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions