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

ASE: Solve inconsistency in pthreads for Socket_srv_tid #75

Merged
merged 3 commits into from
Jan 12, 2018

Conversation

diptisherlekar
Copy link
Contributor

  • Pthread_join for socket_srv is now called in start_sim_kill function
    to make sure the thread is destroyed .

- Pthread_join for socket_srv is now called in start_sim_kill function
to make sure the thread is destroyed .
@lzhan55
Copy link
Contributor

lzhan55 commented Jan 12, 2018

DCP regression tests result is available at
http://sw-pert.altera.com/pert/pert.php?test_run_id=2107608

@deepakcu84
Copy link
Contributor

Looks good. You can do a reg_exe --farm --official-only to get a clean run.

I'll approve.

@diptisherlekar diptisherlekar merged commit 2033a8c into master Jan 12, 2018
@diptisherlekar diptisherlekar deleted the diptishe/Pthread_issue branch January 12, 2018 21:49
tswhison pushed a commit that referenced this pull request Mar 12, 2020
tswhison pushed a commit that referenced this pull request Mar 13, 2020
tswhison added a commit that referenced this pull request Sep 10, 2020
60b2ade opae-cxx: fix issue found by checker (#82)
c3c2710 Fix issues identified by checkers. (#81)
07b1a98 Improve malloc error handling in xfpga_fpgaOpen (#76)
8eb328a A static analysis check (#75)

git-subtree-dir: opae-libs
git-subtree-split: 60b2ade
anandaravuri added a commit that referenced this pull request Sep 18, 2020
ada8bd1 Merge pull request #85 from OPAE/aravuri/fix_subrepo
6c85e53 opae-libs: update cmaklist tag to release branch
38c747d Merge pull request #84 from OPAE/aravuri/fix_ver
7e40e35 opae-sdk: update opae release version to 2.0
2fa56e6 opae-cxx: fix coding style (#83)
60b2ade opae-cxx: fix issue found by checker (#82)
c3c2710 Fix issues identified by checkers. (#81)
07b1a98 Improve malloc error handling in xfpga_fpgaOpen (#76)
8eb328a A static analysis check (#75)

git-subtree-dir: opae-libs
git-subtree-split: ada8bd1
r-rojo pushed a commit that referenced this pull request Oct 11, 2021
* remove unused variable

From clang static analysis

pvalue.h:98:15: warning: Although the value stored to 'u'
  is used in the enclosing expression, the value is
  never actually read from 'u'
    if (0 != (u = uuid_parse(str, data_.data()))) {
              ^   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

This can be simplified by removing the 'u' and
checking the status directly.

Signed-off-by: Tom Rix <trix@redhat.com>

* check return of read mmio

From clang static analysis

afu_metrics.c:160:4: warning: Value stored to 'result'
  is never read [deadcode.DeadStores]
    result = xfpga_fpgaReadMMIO64(handle, 0, ...
    ^        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Check the status and return on error

Signed-off-by: Tom Rix <trix@redhat.com>

* check return and report error

From clang static analysis

metrics_utils.c:325:3: warning: Value stored to 'result'
  is never read
    result = xfpga_bmcGetSDRDetails(_handle, values, x, &details);

Check the status and return on error

Signed-off-by: Tom Rix <trix@redhat.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

4 participants