diff options
author | Saeed Mahameed <saeedm@mellanox.com> | 2019-09-10 22:35:59 +0300 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2019-09-10 23:43:27 +0300 |
commit | fa355bb1b0373e7fe087cfc830b1b0b9b6130388 (patch) | |
tree | 248b92491872fda3b196f9f4f0e68ae82c9ef132 /net/mac80211/iface.c | |
parent | 334a306f7be8423932da8a0382616fe403d334cf (diff) | |
download | linux-fa355bb1b0373e7fe087cfc830b1b0b9b6130388.tar.xz |
net/mlx5: FWTrace, Reduce stack usage
Mark mlx5_tracer_print_trace as noinline as the function only uses 512
bytes on the stack to avoid the following build warning:
drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c:660:13: error: stack frame size of 1032 bytes in function 'mlx5_fw_tracer_handle_traces' [-Werror,-Wframe-larger-than=]
Fixes: 70dd6fdb8987 ("net/mlx5: FW tracer, parse traces and kernel tracing support")
Reported-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'net/mac80211/iface.c')
0 files changed, 0 insertions, 0 deletions