Polynomial calculation (polynomial_calc) test

modulename: polynomial_kunit.ko

configname: CONFIG_POLYNOMIAL_KUNIT_TEST

Linux Kernel Configuration
└─>Kernel hacking
└─>Kernel Testing and Coverage
└─>Runtime Testing
└─>KUnit - Enable support for unit tests
└─>Polynomial calculation (polynomial_calc) test
In linux kernel since version 5.15.218 (release Date: 2026-08-27)
This option enables the KUnit test suite for the polynomial_calc()
function, which evaluates integer polynomials using factor
redistribution to avoid overflow.

The test suite verifies correctness for constant, linear, and
quadratic polynomials, negative coefficients, per-step dividers,
divider_leftover, total_divider scaling, and a real sensor
N-to-temperature conversion polynomial.

If unsure, say N
source code: