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

Can't use unsigned numbers as arguments for kprintf, klog etc. #14

Open
coditva opened this issue Oct 5, 2018 · 2 comments
Open

Can't use unsigned numbers as arguments for kprintf, klog etc. #14

coditva opened this issue Oct 5, 2018 · 2 comments
Labels
bug something's wrong good first issue issues to get started with types issues related to data types

Comments

@coditva
Copy link
Owner

coditva commented Oct 5, 2018

klog(LOG_INFO, "this: %d", 123); prints garbage.
Also, need to change %x modifier to print hex.

@coditva coditva added the bug something's wrong label Oct 5, 2018
@coditva
Copy link
Owner Author

coditva commented Oct 9, 2018

All of the above are fixed. But. We have another bug which prints garbage when size of hex number is large.

@coditva
Copy link
Owner Author

coditva commented Oct 9, 2018

That is fixed too. But. We have another bug which creates problems with signed numbers. I can't deal with this shit right now because I don't need to. Laters!
Some work for it in branch fix_putd.

@coditva coditva changed the title Parsing arguments in klog is broken Can't use unsigned numbers as arguments for kprintf, klog etc. Oct 11, 2018
@coditva coditva added types issues related to data types good first issue issues to get started with labels May 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something's wrong good first issue issues to get started with types issues related to data types
Projects
None yet
Development

No branches or pull requests

1 participant