code: func (k *KernelValidator) validateKernelVersion(kSpec KernelSpec) error {
  	versionRegexps := kSpec.Versions
  	for _, versionRegexp := range versionRegexps {
  		r := regexp.MustCompile(versionRegexp)
  		if r.MatchString(k.kernelRelease) {
  			k.Reporter.Report("KERNEL_VERSION", k.kernelRelease, good)
  			return nil
  		}
  	}
  	k.Reporter.Report("KERNEL_VERSION", k.kernelRelease, bad)
  	return errors.Errorf("unsupported kernel release: %s", k.kernelRelease)
  }
docs: // validateKernelVersion validates the kernel version.