-
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
lib/ukboot: Silence compiler warning on envp #1378
lib/ukboot: Silence compiler warning on envp #1378
Conversation
7f1c918
to
abf5c84
Compare
Mark declaration of envp as __maybe_unused to silence a compiler warning. Signed-off-by: Michalis Pappas <michalis@unikraft.io>
abf5c84
to
e61fd6a
Compare
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.
Looks good on my side.
Reviewed-by: Rares Miculescu miculescur@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.
Looks good.
Reviewed-by: Delia Pavel delia_maria.pavel@stud.acs.upb.ro
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.
Approved-by: Razvan Deaconescu razvand@unikraft.io
Mark declaration of envp as __maybe_unused to silence a compiler warning. Signed-off-by: Michalis Pappas <michalis@unikraft.io> Reviewed-by: Delia Pavel <delia_maria.pavel@stud.acs.upb.ro> Approved-by: Razvan Deaconescu <razvand@unikraft.io> GitHub-Closes: #1378
Make declaration of envp conditional to CONFIG_LIBUKDEBUG_PRINTK_INFO to silence a compiler warning on unused variable.
Prerequisite checklist
checkpatch.uk
on your commit series before opening this PR;Base target
Additional configuration
Description of changes
Make declaration of
envp
conditional toCONFIG_LIBUKDEBUG_PRINTK_INFO
to silence a compiler warning on unused variable.