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

bug runing in kernel 6.0.x #152

Closed
gefire opened this issue Dec 9, 2024 · 1 comment
Closed

bug runing in kernel 6.0.x #152

gefire opened this issue Dec 9, 2024 · 1 comment

Comments

@gefire
Copy link

gefire commented Dec 9, 2024

func SetKernelVersion(version string) error {
v, err := VersionFromString(version)
if err != nil || v.Minor == 0 {
return fmt.Errorf("invalid kernel version: %s", version)
}
kernelVersion = v
return nil
}

this code run in 6.0.x will return invalid kernel version

apetruhin added a commit that referenced this issue Dec 9, 2024
@apetruhin
Copy link
Member

apetruhin added a commit that referenced this issue Dec 9, 2024
(cherry picked from commit b996840)
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

No branches or pull requests

2 participants