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

Fix the warnings in the 32-bit platform #689

Closed
wants to merge 2 commits into from

Conversation

bjoto
Copy link

@bjoto bjoto commented Mar 5, 2024

Pull request for series with
subject: Fix the warnings in the 32-bit platform
version: 1
url: https://patchwork.kernel.org/project/linux-riscv/list/?series=832505

Ben Zong-You Xie added 2 commits March 5, 2024 12:16
In the 32-bit platform, the size of time_t is still 64 bits. Thus, use
PRIu64 to resolve the format problem.

Signed-off-by: Ben Zong-You Xie <ben717@andestech.com>
Signed-off-by: Björn Töpel <bjorn@rivosinc.com>
In the 32-bit platform, the second argument of getline is expectd to be
'size_t *'(aka 'unsigned int *'), but line_sz is of type
'unsigned long *'. Therefore, declare line_sz as size_t.

Signed-off-by: Ben Zong-You Xie <ben717@andestech.com>
Signed-off-by: Björn Töpel <bjorn@rivosinc.com>
@bjoto
Copy link
Author

bjoto commented Mar 5, 2024

Upstream branch: 886516f
series: https://patchwork.kernel.org/project/linux-riscv/list/?series=832505
version: 1

@bjoto
Copy link
Author

bjoto commented Mar 7, 2024

At least one diff in series https://patchwork.kernel.org/project/linux-riscv/list/?series=832505 irrelevant now. Closing PR.

@bjoto bjoto closed this Mar 7, 2024
@bjoto bjoto deleted the series/832505=>for-next branch March 7, 2024 18:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant