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

[Dynamic Buffer Calc] Enhancement: coding style and LGTM alerts #1693

Merged
merged 2 commits into from
Apr 6, 2021

Conversation

stephenxs
Copy link
Collaborator

What I did

  1. Improve coding style
  2. Fix LGTM alerts

Why I did it

How I verified it
Run regression and vs test

Details if related

  • Always 1 space between // and the comments
  • Always use the capital letter at the beginning of the sentence
  • Rename function: refreshPriorityGroupsForPort => refreshPgsForPort
  • Fix LGTM alerts

Add one space between "//" and the comments
Use capital letter at the beginning of sentence
refreshPriorityGroupsForPort => refreshPgsForPort

Signed-off-by: Stephen Sun <[email protected]>
Signed-off-by: Stephen Sun <[email protected]>
@lgtm-com
Copy link

lgtm-com bot commented Apr 6, 2021

This pull request fixes 10 alerts when merging 5ca47bf into 637e8d0 - view on LGTM.com

fixed alerts:

  • 10 for Unused import

@liat-grozovik liat-grozovik merged commit 66e1aab into sonic-net:master Apr 6, 2021
@stephenxs stephenxs deleted the improve-code-style branch April 6, 2021 22:11
yxieca pushed a commit that referenced this pull request Apr 8, 2021
* Improve coding styles

- Add one space between "//" and the comments
- Use capital letter at the beginning of sentence
- refreshPriorityGroupsForPort => refreshPgsForPort

* Fix LGTM alerts

Signed-off-by: Stephen Sun <[email protected]>
raphaelt-nvidia pushed a commit to raphaelt-nvidia/sonic-swss that referenced this pull request Oct 5, 2021
…c-net#1693)

* Improve coding styles

- Add one space between "//" and the comments
- Use capital letter at the beginning of sentence
- refreshPriorityGroupsForPort => refreshPgsForPort

* Fix LGTM alerts

Signed-off-by: Stephen Sun <[email protected]>
EdenGri pushed a commit to EdenGri/sonic-swss that referenced this pull request Feb 28, 2022
When run "make modules_prepare", it prompts an ask as below:
Microsoft Network Devices (NET_VENDOR_MICROSOFT) [Y/n/?] (NEW)

It should be caused by the new version of the kernel config mis-match with existing one.
To fix it, add the CONFIG_NET_VENDOR_MICROSOFT and CONFIG_MICROSOFT_MANA settings in the .config file.
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.

4 participants