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

target: riscv: convert 'unsigned' to 'unsigned int' #1150

Merged
merged 1 commit into from
Oct 17, 2024

Conversation

borneoa
Copy link
Contributor

@borneoa borneoa commented Oct 13, 2024

This is only for coding-style rework.

In upstream OpenOCD all 'unsigned' has already been converted to 'unsigned int' and there are two patches pending for merge to extend the conversion to the risc-v code:
https://review.openocd.org/c/openocd/+/8483
https://review.openocd.org/c/openocd/+/8484

This patch for the risc-v fork runs the same conversion, in the hope to simplify the alignment between the fork and the upstream.

Conversion done with
checkpatch --fix-inplace -types UNSPECIFIED_INT

Change-Id: I62fad88dd33716c24154d44c5a23ae2c0f7c4a4c

Conversion done with
	checkpatch --fix-inplace -types UNSPECIFIED_INT

Change-Id: I62fad88dd33716c24154d44c5a23ae2c0f7c4a4c
Signed-off-by: Antonio Borneo <[email protected]>
Copy link
Collaborator

@en-sc en-sc 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 the patch! LGTM.

@en-sc en-sc requested a review from JanMatCodasip October 15, 2024 10:58
Copy link
Collaborator

@JanMatCodasip JanMatCodasip left a comment

Choose a reason for hiding this comment

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

LGTM, thank you.

@en-sc en-sc merged commit 417ff40 into riscv-collab:riscv Oct 17, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants