Commit 6e72dac
committed
PCI/AER: Increase compile coverage of CONFIG_PCIEAER_CXL implementation
Per coding-style, avoid usage of conditional compilation for
CONFIG_PCIEAER_CXL related helpers. Instead use
IS_ENABLED(CONFIG_PCIEAER_CXL) to check when CXL error handling is
compile-time disabled.
Cc: Terry Bowman <terry.bowman@amd.com>
Cc: Robert Richter <rrichter@amd.com>
Cc: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>1 parent e8db070 commit 6e72dac
3 files changed
Lines changed: 8 additions & 22 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
729 | 729 | | |
730 | 730 | | |
731 | 731 | | |
732 | | - | |
733 | | - | |
734 | 732 | | |
735 | 733 | | |
736 | 734 | | |
| |||
797 | 795 | | |
798 | 796 | | |
799 | 797 | | |
| 798 | + | |
| 799 | + | |
| 800 | + | |
800 | 801 | | |
801 | 802 | | |
802 | 803 | | |
| |||
897 | 898 | | |
898 | 899 | | |
899 | 900 | | |
900 | | - | |
901 | | - | |
902 | | - | |
903 | | - | |
904 | 901 | | |
905 | 902 | | |
906 | 903 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
712 | 712 | | |
713 | 713 | | |
714 | 714 | | |
715 | | - | |
716 | | - | |
717 | 715 | | |
718 | | - | |
719 | | - | |
720 | | - | |
721 | | - | |
722 | 716 | | |
723 | 717 | | |
724 | 718 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
934 | 934 | | |
935 | 935 | | |
936 | 936 | | |
937 | | - | |
938 | | - | |
939 | 937 | | |
940 | 938 | | |
941 | 939 | | |
| |||
1000 | 998 | | |
1001 | 999 | | |
1002 | 1000 | | |
1003 | | - | |
| 1001 | + | |
| 1002 | + | |
1004 | 1003 | | |
1005 | 1004 | | |
1006 | 1005 | | |
| |||
1041 | 1040 | | |
1042 | 1041 | | |
1043 | 1042 | | |
1044 | | - | |
| 1043 | + | |
| 1044 | + | |
| 1045 | + | |
1045 | 1046 | | |
1046 | 1047 | | |
1047 | 1048 | | |
| |||
1067 | 1068 | | |
1068 | 1069 | | |
1069 | 1070 | | |
1070 | | - | |
1071 | | - | |
1072 | | - | |
1073 | | - | |
1074 | | - | |
1075 | | - | |
1076 | 1071 | | |
1077 | 1072 | | |
1078 | 1073 | | |
| |||
0 commit comments