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

Fixing Typecast issue #879

Merged
merged 1 commit into from
Mar 11, 2025
Merged

Fixing Typecast issue #879

merged 1 commit into from
Mar 11, 2025

Conversation

vrbagalkot
Copy link

Currently cpu value is being returned as floating point, which is resulting in make command failure. Changing it to return int value.

Below is the snippet of the logs before and after the change.

Before:

console-expect]#make -j 9.0 -s make -j 9.0 -s make[1]: *** No rule to make target '9.0'. Stop. make: *** [Makefile:240: __sub-make] Error 2 [console-expect]#echo $? echo $? 2

After this patch:

`[console-expect]#make -j 9 -s
make -j 9 -s

WRAP arch/powerpc/include/generated/uapi/asm/bpf_perf_event.h

echo "#include <asm-generic/bpf_perf_event.h>" > arch/powerpc/include/generated/uapi/asm/bpf_perf_event.h`

Currently cpu value is being returned as floating point,
which is resulting in make command failure. Changing it to return
int value.

Signed-off-by: vrbagalkot <[email protected]>
@abdhaleegit abdhaleegit self-assigned this Mar 5, 2025
@abdhaleegit abdhaleegit self-requested a review March 5, 2025 05:19
Copy link
Collaborator

@abdhaleegit abdhaleegit left a comment

Choose a reason for hiding this comment

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

Signed-off-by: vrbagalkot [email protected]

please use the imap id

@abdhaleegit abdhaleegit self-requested a review March 11, 2025 07:45
Copy link
Collaborator

@abdhaleegit abdhaleegit left a comment

Choose a reason for hiding this comment

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

LGTM, next PRs make sure its from imap id

@abdhaleegit abdhaleegit merged commit 996dba7 into open-power:master Mar 11, 2025
1 check 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.

2 participants