Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: define PCI_STD_NUM_BARS when not found #3061

Merged
merged 1 commit into from
Dec 14, 2023
Merged

Conversation

tswhison
Copy link
Contributor

Description

A recent checkin began relying on sys/pci.h for its definition of PCI_STD_NUM_BARS.
It seems that some distributions don't have a version of that file that defines PCI_STD_NUM_BARS.
This change defines it to 6 when not found.

Collateral (docs, reports, design examples, case IDs):

  • Document Update Required? (Specify FIM/AFU/Scripts)

Tests added:

Tests run:

CI

Signed-off-by: Tim Whisonant <tim.whisonant@intel.com>
@tswhison tswhison self-assigned this Dec 14, 2023
@tswhison tswhison requested a review from a team as a code owner December 14, 2023 22:06
@coveralls
Copy link

Pull Request Test Coverage Report for Build 7215117709

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 66.489%

Totals Coverage Status
Change from base Build 7212840661: 0.0%
Covered Lines: 15756
Relevant Lines: 23697

💛 - Coveralls

@tswhison tswhison merged commit 73a4926 into master Dec 14, 2023
27 checks passed
@tswhison tswhison deleted the tswhison/num_bars branch December 14, 2023 22:46
anandaravuri pushed a commit that referenced this pull request Dec 15, 2023
### Description
A recent checkin began relying on sys/pci.h for its definition of PCI_STD_NUM_BARS.
It seems that some distributions don't have a version of that file that defines PCI_STD_NUM_BARS.
This change defines it to 6 when not found.

### Collateral (docs, reports, design examples, case IDs):



- [ ] Document Update Required? (Specify FIM/AFU/Scripts)

### Tests added:


### Tests run:
CI

Signed-off-by: Tim Whisonant <tim.whisonant@intel.com>
anandaravuri added a commit that referenced this pull request Dec 15, 2023
* fix: remove clx he loopback sub command

 CXL host exerciser doesn’t support loopback feature, so remove lpbk sub command

Signed-off-by: anandaravuri <ananda.ravuri@intel.com>

* Fix: define PCI_STD_NUM_BARS when not found (#3061)

### Description
A recent checkin began relying on sys/pci.h for its definition of PCI_STD_NUM_BARS.
It seems that some distributions don't have a version of that file that defines PCI_STD_NUM_BARS.
This change defines it to 6 when not found.

### Collateral (docs, reports, design examples, case IDs):



- [ ] Document Update Required? (Specify FIM/AFU/Scripts)

### Tests added:


### Tests run:
CI

Signed-off-by: Tim Whisonant <tim.whisonant@intel.com>

---------

Signed-off-by: anandaravuri <ananda.ravuri@intel.com>
Signed-off-by: Tim Whisonant <tim.whisonant@intel.com>
Co-authored-by: Tim Whisonant <tim.whisonant@intel.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants