Skip to content

Conversation

hasnainvirk
Copy link
Contributor

Description

CellularDevice::get_default_instance() is a weak method and is overriden
by either a default construction provided in the code or by application
at some stage. This method needs to be flagged otherwise using another
driver will be hindered by the default overriding of this driver.

Pull request type

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

Reviewers

@AnttiKauppila @AriParkkila @cmonr @0xc0170

Release Notes

@ciarmcom ciarmcom requested review from a team, 0xc0170, AnttiKauppila, AriParkkila and cmonr April 10, 2019 09:00
@ciarmcom
Copy link
Member

@hasnainvirk, thank you for your changes.
@AnttiKauppila @AriParkkila @cmonr @0xc0170 @ARMmbed/mbed-os-wan @ARMmbed/mbed-os-maintainers please review.

@0xc0170 0xc0170 changed the title Flagging WEAK methoed implementation for default construction Flagging WEAK method implementation for default construction Apr 10, 2019
@0xc0170
Copy link
Contributor

0xc0170 commented Apr 10, 2019

Can you fix wording in the commit (I've already fixed the title).

CellularDevice::get_default_instance() is a weak method and is overriden
by either a default construction provided in the code or by application
at some stage. This method needs to be flagged otherwise using another
driver will be hindered by the default overriding of this driver.
@hasnainvirk hasnainvirk force-pushed the flagging_default_ctor branch from 739704f to 34fc828 Compare April 10, 2019 09:54
@hasnainvirk
Copy link
Contributor Author

hasnainvirk commented Apr 10, 2019

Can you fix wording in the commit (I've already fixed the title).

Sorry for the typo. Fixed.

@0xc0170
Copy link
Contributor

0xc0170 commented Apr 10, 2019

Ci started

@mbed-ci
Copy link

mbed-ci commented Apr 10, 2019

Test run: FAILED

Summary: 3 of 7 test jobs failed
Build number : 1
Build artifacts

Failed test jobs:

  • jenkins-ci/mbed-os-ci_build-ARM
  • jenkins-ci/mbed-os-ci_build-GCC_ARM
  • jenkins-ci/mbed-os-ci_build-IAR

@alekla01
Copy link
Contributor

Restarted jenkins-ci

@mbed-ci
Copy link

mbed-ci commented Apr 10, 2019

Test run: SUCCESS

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

@0xc0170 0xc0170 merged commit d9ad62e into ARMmbed:master Apr 11, 2019
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.

6 participants