diff options
| author | Arnd Bergmann <arnd@arndb.de> | 2025-04-23 18:28:21 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-02-19 16:29:51 +0100 |
| commit | a22fe7581f113df777be367bddb0f8fb1340643f (patch) | |
| tree | ba6a438dd6fabc23b743105bfd3d14ad40063f70 /include/net/aligned_data.h | |
| parent | 7096cc734240e59774cb944d120a9f3ebb263d85 (diff) | |
bnxt_en: hide CONFIG_DETECT_HUNG_TASK specific code
commit 8ff6175139967cd17b2a62bca4b2de2559942b7e upstream.
The CONFIG_DEFAULT_HUNG_TASK_TIMEOUT setting is only available when the
hung task detection is enabled, otherwise the code now produces a build
failure:
drivers/net/ethernet/broadcom/bnxt/bnxt.c:10188:21: error: use of undeclared identifier 'CONFIG_DEFAULT_HUNG_TASK_TIMEOUT'
10188 | max_tmo_secs > CONFIG_DEFAULT_HUNG_TASK_TIMEOUT) {
Enclose this warning logic in an #ifdef to ensure this builds.
Fixes: 0fcad44a86bd ("bnxt_en: Change FW message timeout warning")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Michael Chan <michael.chan@broadcom.com>
Link: https://patch.msgid.link/20250423162827.2189658-1-arnd@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/net/aligned_data.h')
0 files changed, 0 insertions, 0 deletions
