Skip to content

Replaced strncpy (removed with Linux kernel release 7.2) with strscpy - #25

Open
Leonardo5681 wants to merge 1 commit into
PXDiv:mainfrom
Leonardo5681:main
Open

Replaced strncpy (removed with Linux kernel release 7.2) with strscpy#25
Leonardo5681 wants to merge 1 commit into
PXDiv:mainfrom
Leonardo5681:main

Conversation

@Leonardo5681

Copy link
Copy Markdown

I just replaced strncpy (deprecated and removed with linux kernel release 7.2) with strscpy

@elieltondias elieltondias left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

I suggest using memcpy instead of strscpy in this section.

This change is necessary because the current use of strscpy causes the GPU fan speed control to malfunction.

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