diff options
author | James Smart <[email protected]> | 2021-09-07 22:09:27 -0700 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2021-09-13 22:15:41 -0400 |
commit | 37e384095f20cca728500fe5344cd308aa6fd7ff (patch) | |
tree | ee1b1af1f793a179ad5a62cf7bc1d8a873b24bcc /scripts/gdb/linux/utils.py | |
parent | 59936430e6a6acb0ef943e9306506b2e9c2e45a8 (diff) |
scsi: lpfc: Fix compilation errors on kernels with no CONFIG_DEBUG_FS
The Kernel test robot flagged the following warning:
".../lpfc_init.c:7788:35: error: 'struct lpfc_sli4_hba' has no member
named 'c_stat'"
Reviewing this issue highlighted that one of the recent patches caused the
driver to no longer compile cleanly if CONFIG_DEBUG_FS is not set.
Correct the different areas that are failing to compile.
Link: https://lore.kernel.org/r/[email protected]
Fixes: 02243836ad6f ("scsi: lpfc: Add support for the CM framework")
Reviewed-by: Nathan Chancellor <[email protected]>
Build-tested-by: Nathan Chancellor <[email protected]>
Co-developed-by: Justin Tee <[email protected]>
Signed-off-by: Justin Tee <[email protected]>
Signed-off-by: James Smart <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions