From nobody Thu Apr 9 13:32:19 2026 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5AB8F364E91 for ; Fri, 27 Feb 2026 07:50:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.21 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772178607; cv=none; b=arfWxl/k85C3MGAVnLarrk4krRXVLmvvsbcvRnR6zLGZVwYTYP4Cgs2sPWglLP4uX3kYF4yeqM6NawER+RkfR5g0abqtbSKoNw0tnk2QWrP2Z8TrsOVUSYD4tJpq7ef8QXqqVFySZJE5hfGMr+3Y2Zo+evV9vIRYFHZuue0rNUo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772178607; c=relaxed/simple; bh=TaYqeY0nTy6r7VCUYmBF+mnkHlBH7NZXSkhullyWHBg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=b4U3Y2L/rgKO7U1ZHb4SIRmWllknYXbFy4JFCsgADQ3XPzNcKe5zVmnpJc67OYwDoo8kMvzLl1erFwhiCgLKqoapna55oWQExiW4OBm+3NwaqXWFPSTYIG1NdwwtI2jby/qgygrgL7gosEIm2Zw1SDidieRgIdeDTTbzOsUG73M= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=pass smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=W+BdyXtj; arc=none smtp.client-ip=198.175.65.21 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="W+BdyXtj" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1772178607; x=1803714607; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=TaYqeY0nTy6r7VCUYmBF+mnkHlBH7NZXSkhullyWHBg=; b=W+BdyXtjGvAUu/CWPuKhttfZ1AwKVbHVvdxyjkH4Z/k++6E3xPrkoevl TxKKGGBvzz9KX+rDcP7FHtlWddiBuwTqIX9N9+RhJKz67sD5rtvNvmOWr ARCY2DIlxLwOPmslOKudgV4YNxdk2APtAm0nSEWGil1AcAkotgWp21vte VtgsYuGNJ2c68/W57WXST/iMkM+OUgd9l2guVCNWTNeijS3UxBBc61htW mMQIB1aUgwuV/XfdUGh6mm1wfZ0AHW0rimvM9GAHGdLcYKZeMlTNLTy/2 mBV08kgz0553S0ZDfe0lneVd9SbbONRE6ohKIRn/Maxxr+ju20xJpz09+ g==; X-CSE-ConnectionGUID: kyUPRlonRx67NmFGY6sGCA== X-CSE-MsgGUID: 6AsJUjrhR6C1Bzi2kphz8Q== X-IronPort-AV: E=McAfee;i="6800,10657,11713"; a="73128621" X-IronPort-AV: E=Sophos;i="6.21,313,1763452800"; d="scan'208";a="73128621" Received: from orviesa001.jf.intel.com ([10.64.159.141]) by orvoesa113.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Feb 2026 23:50:03 -0800 X-CSE-ConnectionGUID: rUPknhQpTjG0ezc3qtsXRA== X-CSE-MsgGUID: KfLyxMAIS+qABiPxs6pyew== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.21,313,1763452800"; d="scan'208";a="254608167" Received: from black.igk.intel.com ([10.91.253.5]) by orviesa001.jf.intel.com with ESMTP; 26 Feb 2026 23:50:01 -0800 Received: by black.igk.intel.com (Postfix, from userid 1003) id 5BF7B9D; Fri, 27 Feb 2026 08:50:00 +0100 (CET) From: Andy Shevchenko To: linux-kernel@vger.kernel.org Cc: Andrew Morton , Randy Dunlap , Andy Shevchenko Subject: [PATCH v1 3/3] lib: math: polynomial: Remove link to non-exist file and fix spelling Date: Fri, 27 Feb 2026 08:48:00 +0100 Message-ID: <20260227074957.1144321-4-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.50.1 In-Reply-To: <20260227074957.1144321-1-andriy.shevchenko@linux.intel.com> References: <20260227074957.1144321-1-andriy.shevchenko@linux.intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" The Baikal SoC and platform support was dropped from the kernel, remove the reference to non-exist file. While at it, fix spelling. Signed-off-by: Andy Shevchenko Reviewed-by: Randy Dunlap --- lib/math/polynomial.c | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/lib/math/polynomial.c b/lib/math/polynomial.c index 805d1de56b9a..c1d113f7ca37 100644 --- a/lib/math/polynomial.c +++ b/lib/math/polynomial.c @@ -15,16 +15,13 @@ #include =20 /* - * Originally this was part of drivers/hwmon/bt1-pvt.c. * There the following conversion is used and should serve as an example h= ere: * * The original translation formulae of the temperature (in degrees of Cel= sius) * to PVT data and vice-versa are following: * - * N =3D 1.8322e-8*(T^4) + 2.343e-5*(T^3) + 8.7018e-3*(T^2) + 3.9269*(T^1)= + - * 1.7204e2 - * T =3D -1.6743e-11*(N^4) + 8.1542e-8*(N^3) + -1.8201e-4*(N^2) + - * 3.1020e-1*(N^1) - 4.838e1 + * N =3D 1.8322e-8*(T^4) + 2.343e-5*(T^3) + 8.7018e-3*(T^2) + 3.9269*(T^1)= + 1.7204e2 + * T =3D -1.6743e-11*(N^4) + 8.1542e-8*(N^3) + -1.8201e-4*(N^2) + 3.1020e-= 1*(N^1) - 4.838e1 * * where T =3D [-48.380, 147.438]C and N =3D [0, 1023]. * @@ -35,10 +32,9 @@ * formulae to accept millidegrees of Celsius. Here what they look like af= ter * the alterations: * - * N =3D (18322e-20*(T^4) + 2343e-13*(T^3) + 87018e-9*(T^2) + 39269e-3*T + - * 17204e2) / 1e4 - * T =3D -16743e-12*(D^4) + 81542e-9*(D^3) - 182010e-6*(D^2) + 310200e-3*D= - - * 48380 + * N =3D (18322e-20*(T^4) + 2343e-13*(T^3) + 87018e-9*(T^2) + 39269e-3*T += 17204e2) / 1e4 + * T =3D -16743e-12*(D^4) + 81542e-9*(D^3) - 182010e-6*(D^2) + 310200e-3*D= - 48380 + * * where T =3D [-48380, 147438] mC and N =3D [0, 1023]. * * static const struct polynomial poly_temp_to_N =3D { @@ -68,13 +64,13 @@ * polynomial_calc - calculate a polynomial using integer arithmetic * * @poly: pointer to the descriptor of the polynomial - * @data: input value of the polynimal + * @data: input value of the polynomial * * Calculate the result of a polynomial using only integer arithmetic. For * this to work without too much loss of precision the coefficients has to * be altered. This is called factor redistribution. * - * Returns the result of the polynomial calculation. + * Return: the result of the polynomial calculation. */ long polynomial_calc(const struct polynomial *poly, long data) { --=20 2.50.1