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

Fixes for code analysis warnings #26

Closed
wants to merge 214 commits into from

Conversation

SenRamakri
Copy link

Description

Fixes for code analysis warnings raised from PVS studio - See ARMmbed#8517

Pull request type

[x] Fix
[ ] Refactor
[ ] Target update
[ ] Functionality change
[ ] Docs update
[ ] Test update
[ ] Breaking change

simonbutcher and others added 30 commits September 26, 2018 16:33
Add content missing from the README.md taken from the Yotta/Mbed OS 3 Readme.
Numerous changes to language, grammar, and corrections, following review.
For Windows-formatted SD card, it is not partitioned (no MBR), but its PBR has the
same boot signature (0xaa55) as MBR. We would easily mis-recognize this SD card has valid
partitions if we only check partition type. We add check by only accepting 0x00 (inactive)
/0x80 (active) for valid partition status.
Minor doxygen update, uppercase acronym
Copy edit file.
Update the LowPowerTickerWrapper class logic to stop using its internal
Timeout object for scheduling LP ticker interrupts after the wrapper has
been suspended.

Fixes ARMmbed#8278
- Hide protected member structures from doxygen.
- Add some more details/comments to the example.
- Add some defined/undefined behaviours.
- Add some additional details to function documentation
Make minor copy edits, mostly to existing text before this PR.
Copy edit file, including existing text.
bcostm and others added 25 commits October 31, 2018 10:15
The issue is that the process_oob check would only return immediately
if no data at all on entry, or when receiving a known OOB. Any other
line noise or unknown OOBs could lead to a timeout delay - read the
noise or unknown OOB then timeout waiting for another line of input.

This revised version modifies the parser to recheck readable after each
line end when only looking for OOBs, so it can immediate exit.
…socket_h

Fix the incorrect comment for set_blocking()
Correct types passed to debug() calls - as part of this, block size and
erase size are changed to be 32-bit - using 64-bit variables for these
will cause unnecessary code bloat.

Many uses of bd_size_t in the BlockDevice API should really be uint32_t
or size_t, but that would be a bigger API change.
Platform: fix missing namespace for SharedPtr
Build and run latest released doxygen in Travis CI
…_handling

ATCmdParser: Fix OOB handling performance-wise
DISCO_F769NI: Add bootloader support
Fix Ice Tea test execution order to be sorted by names.
Update python module versions in requirements.txt
…-python-3

Fix Makefile export with Python 3
Rework make.py CLI to avoid treating apps as tests
Add format checking to printf-type APIs
@SenRamakri
Copy link
Author

Oops, wrong place.

@SenRamakri SenRamakri closed this Nov 1, 2018
@softagram-bot
Copy link

Softagram Impact Report for pull/26 (head commit: e29b9ba)

Target: K64F

⭐ Visual Overview

Changed elements and changed dependencies.
Changed dependencies - click for full size
Graph legend
(Open in Softagram Desktop for full details)

⭐ Change Impact

How the changed files are used by the rest of the project
Impacted files - click for full size
Graph legend
(Open in Softagram Desktop for full details)

📄 Full report

Give feedback of this report to support@softagram.com

@makimat
Copy link

makimat commented Nov 2, 2018

Oops, wrong place.

No worries, we are happy to give you impact reports of any pull request you open here ;) In this case we didn't keep the master branch up-to-date so the report is not valid for your single commit.

@makimat
Copy link

makimat commented Nov 2, 2018

FYI @SenRamakri, here's your pull request visualized correctly: #27

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.