warn_limit

file: /proc/sys/kernel/warn_limit
variable: kernel.warn_limit
Official reference

Number of kernel warnings after which the kernel should panic when panic_on_warn is not set. Setting this to 0 disables checking the warning count. Setting this to 1 has the same effect as setting panic_on_warn=1. The default value is 0.