Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
x86/cpu: Fix overrun check in arch_print_cpu_modalias()
snprintf() does not return a negative value when truncating. Signed-off-by: Ben Hutchings <[email protected]> Acked-by: Thomas Renninger <[email protected]> Acked-by: H. Peter Anvin <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
- Loading branch information