Loading
platform/x86: ISST: Use in_range() to check package ID validity
mainline inclusion from mainline-v6.10 commit e4e365b43460f9b2421164b6b661d138f87edad3 category: bugfix bugzilla: https://gitee.com/openeuler/intel-kernel/issues/IB6QD9 CVE: NA Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=e4e365b43460f9b2421164b6b661d138f87edad3 ------------------------------------------------- Intel-SIG: commit e4e365b43460 platform/x86: ISST: Use in_range() to check package ID validity. Backport Intel speed select ISST driver support on TPMI. Use in_range() macro to simplify range check. No functional impact is expected. Signed-off-by:Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Suggested-by:
Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by:
Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by:
Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Link: https://lore.kernel.org/r/20240423204619.3946901-9-srinivas.pandruvada@linux.intel.com Reviewed-by:
Hans de Goede <hdegoede@redhat.com> Signed-off-by:
Hans de Goede <hdegoede@redhat.com> [ Yingbao Jia: amend commit log ] Signed-off-by:
Yingbao Jia <yingbao.jia@intel.com>