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

Inline nsapi_create_stack(NetworkStack) #12467

Merged
merged 1 commit into from
Mar 3, 2020
Merged

Conversation

kjbracey
Copy link
Contributor

Summary of changes

The rather fiddly nsapi_create_stack template + overloads used during socket formation don't inline their core, which is the identity operation for NetworkStack * itself. Make code generation easier by having that core be inline.

Impact of changes

Slight code size reduction.

Migration actions required

None.

Documentation

n/a


Pull request type

[X] Patch update (Bug fix / Target update / Docs update / Test update / Refactor)
[] Feature update (New feature / Functionality change / New API)
[] Major update (Breaking change E.g. Return code change / API behaviour change)

Test results

[] No Tests required for this change (E.g docs only update)
[X] Covered by existing mbed-os tests (Greentea or Unittest)
[] Tests / results supplied as part of this PR

Reviewers


@0xc0170
Copy link
Contributor

0xc0170 commented Feb 19, 2020

Can you add the info why we are changing it (the description to the commit msg) ?

@kjbracey kjbracey changed the title inline nsapi_create_stack(NetworkStack) Inline nsapi_create_stack(NetworkStack) Feb 19, 2020
@kjbracey
Copy link
Contributor Author

Added missing description to commit message.

@ciarmcom ciarmcom requested review from a team February 19, 2020 12:00
@ciarmcom
Copy link
Member

@kjbracey-arm, thank you for your changes.
@ARMmbed/mbed-os-ipcore @ARMmbed/mbed-os-maintainers please review.

0xc0170
0xc0170 previously approved these changes Feb 21, 2020
@0xc0170
Copy link
Contributor

0xc0170 commented Feb 21, 2020

CI started

@mergify mergify bot added needs: CI and removed needs: review labels Feb 21, 2020
@mbed-ci
Copy link

mbed-ci commented Feb 21, 2020

Test run: FAILED

Summary: 1 of 4 test jobs failed
Build number : 1
Build artifacts

Failed test jobs:

  • jenkins-ci/mbed-os-ci_unittests

The rather fiddly `nsapi_create_stack` template + overloads used during
socket formation don't inline their core, which is the identity operation
for `NetworkStack *` itself. Make code generation easier by having that
core be inline.
@kjbracey
Copy link
Contributor Author

Unit test fix

@mergify mergify bot dismissed 0xc0170’s stale review February 21, 2020 13:14

Pull request has been modified.

@0xc0170
Copy link
Contributor

0xc0170 commented Feb 21, 2020

CI restarted

@mbed-ci
Copy link

mbed-ci commented Feb 21, 2020

Test run: SUCCESS

Summary: 11 of 11 test jobs passed
Build number : 2
Build artifacts

@0xc0170
Copy link
Contributor

0xc0170 commented Feb 27, 2020

@ARMmbed/mbed-os-ipcore Please review

@0xc0170 0xc0170 merged commit eaac84b into ARMmbed:master Mar 3, 2020
@kjbracey kjbracey deleted the nsapics branch March 4, 2020 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants