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

doc: Correct docstring format to silence warnings #927

Closed
wants to merge 1 commit into from

Conversation

andreittr
Copy link
Contributor

@andreittr andreittr commented Jun 2, 2023

Description of changes

Several unikraft files have inconsistent docstrings which generate many warnings when building with clang.
This change corrects all inconsistencies, silencing the warnings.

This PR contains only changes in comments. No actual compilable code was changed.

Tested with a mostly "everything + the kitchen sink" Kconfig of base unikraft (no external libs); no doc warnings remain.

Prerequisite checklist

  • Read the contribution guidelines regarding submitting new changes to the project;
  • Tested your changes against relevant architectures and platforms;
  • Ran the checkpatch.uk on your commit series before opening this PR;
  • Updated relevant documentation.

Base target

  • Architecture(s): N/A
  • Platform(s): N/A
  • Application(s): N/A

Additional configuration

You may need to clear your compiler cache (ccache -C) on systems where by default it interposes on your compiler (e.g. Fedora) in order to see the effect. Apparently ccache compares sources after preprocessing.

Several unikraft files have inconsistent docstrings which generate many
warnings when building with clang.
This change corrects all inconsistencies, silencing the warnings.

Signed-off-by: Andrei Tatar <andrei@unikraft.io>
@andreittr andreittr requested review from a team as code owners June 2, 2023 10:28
@razvand razvand requested review from RaduNichita and StefanJum and removed request for a team June 15, 2023 16:07
@razvand razvand self-assigned this Jun 15, 2023
@razvand razvand added area/docs Documentation topic/build Topics to do with the build system labels Jun 15, 2023
@razvand razvand added this to the v0.14.0 (Prometheus) milestone Jun 15, 2023
Copy link
Member

@mschlumpp mschlumpp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing all the documentation comments 🎉

Reviewed-by: Marco Schlumpp marco@unikraft.io

Copy link
Member

@StefanJum StefanJum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks a lot @andreittr 🚀
Reviewed-by: Stefan Jumarea stefanjumarea02@gmail.com

Copy link
Contributor

@razvand razvand left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved-by: Razvan Deaconescu razvand@unikraft.io

@unikraft-bot unikraft-bot added the ci/merged Merged by CI label Jun 28, 2023
Copy link
Contributor

@RaduNichita RaduNichita left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All good also from my side.

Reviewed-by: Radu Nichita radunichita99@gmail.com

@andreittr andreittr deleted the ttr/docwarn branch June 30, 2023 06:59
rares-miculescu pushed a commit to rares-miculescu/unikraft that referenced this pull request Jul 1, 2023
Several unikraft files have inconsistent docstrings which generate many
warnings when building with clang.
This change corrects all inconsistencies, silencing the warnings.

Signed-off-by: Andrei Tatar <andrei@unikraft.io>
Reviewed-by: Marco Schlumpp <marco@unikraft.io>
Reviewed-by: Stefan Jumarea <stefanjumarea02@gmail.com>
Approved-by: Razvan Deaconescu <razvand@unikraft.io>
Tested-by: Unikraft CI <monkey@unikraft.io>
GitHub-Closes: unikraft#927
rares-miculescu pushed a commit to rares-miculescu/unikraft that referenced this pull request Jul 5, 2023
Several unikraft files have inconsistent docstrings which generate many
warnings when building with clang.
This change corrects all inconsistencies, silencing the warnings.

Signed-off-by: Andrei Tatar <andrei@unikraft.io>
Reviewed-by: Marco Schlumpp <marco@unikraft.io>
Reviewed-by: Stefan Jumarea <stefanjumarea02@gmail.com>
Approved-by: Razvan Deaconescu <razvand@unikraft.io>
Tested-by: Unikraft CI <monkey@unikraft.io>
GitHub-Closes: unikraft#927
i-Pear pushed a commit to i-Pear/unikraft that referenced this pull request Jul 31, 2023
Several unikraft files have inconsistent docstrings which generate many
warnings when building with clang.
This change corrects all inconsistencies, silencing the warnings.

Signed-off-by: Andrei Tatar <andrei@unikraft.io>
Reviewed-by: Marco Schlumpp <marco@unikraft.io>
Reviewed-by: Stefan Jumarea <stefanjumarea02@gmail.com>
Approved-by: Razvan Deaconescu <razvand@unikraft.io>
Tested-by: Unikraft CI <monkey@unikraft.io>
GitHub-Closes: unikraft#927
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/docs Documentation ci/merged Merged by CI topic/build Topics to do with the build system
Projects
Status: Done!
Development

Successfully merging this pull request may close these issues.

None yet

6 participants