-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Solved some compilation warnings #281
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @RaduMantu! Thanks for the PR and great work again at USoC21!
To get this PR ready to be merged, please can you adjust each commit message so that it:
- each commit has a short title, starting with the library prefix, e.g.
lib/vfscore:
; - that the line-length of each commit message is no longer than 75 chars;
- put the full description within the commit message after the title.
Thanks!
cc9f962
to
9de3762
Compare
Hi @nderjung, Sorry for the long delay in dealing with these issues. I'll take a look over the other pending PR tomorrow at the latest. Thanks for taking the time! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @RaduMantu,
All things look good. I was able to reproduce the warnings and fix them with your commits.
The only problem is that the second dcb5db6 and the third 358e27d commit were fixed in the meantime by @skuenzer in the same fashion.
As such, there is a merge conflict. Simply removing the second and third conflict should fix the problem.
After you do this, I will add the tag and it will get merged.
Sorry your patches weren't accepted sooner. I think people just got caught up with other stuff 🙁
Cezar
Signed-off-by: Radu Mantu <andru.mantu@gmail.com>
Replaced implicit declaration of getpid() (when no libc-style wrappers are generated) with uk_syscall_r_getpid(). Signed-off-by: Radu Mantu <andru.mantu@gmail.com>
9de3762
to
779e572
Compare
Hi @craciunoiuc , Thanks for the feedback.
I removed them both. Should not be any more conflicts.
It's ok. These are pretty small changes and I get they aren't a priority. Also, I could have responded quicker to change requests :/ I also looked over your comments on the other PR and will address them first thing tomorrow morning. |
Hey @RaduMantu, All good now! Reviewed-by: Cezar Craciunoiu cezar.craciunoiu@gmail.com |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✅ Checkpatch passed Beep boop! I ran Unikraft's
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All good now!
Reviewed-by: Cezar Craciunoiu cezar.craciunoiu@gmail.com
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! 🐒
Approved-by: Alexander Jung a.jung@lancs.ac.uk
Signed-off-by: Radu Mantu <andru.mantu@gmail.com> Reviewed-by: Cezar Craciunoiu <cezar.craciunoiu@gmail.com> Approved-by: Alexander Jung <a.jung@lancs.ac.uk> Tested-by: Unikraft CI <monkey@unikraft.io> GitHub-Pull-Request: #281
Replaced implicit declaration of getpid() (when no libc-style wrappers are generated) with uk_syscall_r_getpid(). Signed-off-by: Radu Mantu <andru.mantu@gmail.com> Reviewed-by: Cezar Craciunoiu <cezar.craciunoiu@gmail.com> Approved-by: Alexander Jung <a.jung@lancs.ac.uk> Tested-by: Unikraft CI <monkey@unikraft.io> GitHub-Pull-Request: #281
Signed-off-by: Radu Mantu <andru.mantu@gmail.com> Reviewed-by: Cezar Craciunoiu <cezar.craciunoiu@gmail.com> Approved-by: Alexander Jung <a.jung@lancs.ac.uk> Tested-by: Unikraft CI <monkey@unikraft.io> GitHub-Pull-Request: unikraft#281
Replaced implicit declaration of getpid() (when no libc-style wrappers are generated) with uk_syscall_r_getpid(). Signed-off-by: Radu Mantu <andru.mantu@gmail.com> Reviewed-by: Cezar Craciunoiu <cezar.craciunoiu@gmail.com> Approved-by: Alexander Jung <a.jung@lancs.ac.uk> Tested-by: Unikraft CI <monkey@unikraft.io> GitHub-Pull-Request: unikraft#281
Prerequisite checklist
checkpatch.pl
on your commit series before opening this PR;Base target
x86_64
kvm
Description of changes
Fixed 4 compilation warnings for core libraries:
fputc()
sync()
unsigned long
for address inioctl()
getpid()
when libc-style stubs are not generated