]> Gentwo Git Trees - linux/.git/commit
EDAC/skx_common: Use topology_physical_package_id() instead of open coding
authorQiuxu Zhuo <qiuxu.zhuo@intel.com>
Wed, 3 Sep 2025 03:06:48 +0000 (11:06 +0800)
committerTony Luck <tony.luck@intel.com>
Wed, 3 Sep 2025 14:48:01 +0000 (07:48 -0700)
commit2292c8061c783e6900fcedcee388f69deab765ef
treec42398d7e819f15fe6f536624c3cf8a1b08230b0
parent776cc2ec155cfc066087436a6afc86fe52bd5365
EDAC/skx_common: Use topology_physical_package_id() instead of open coding

Use topology_physical_package_id() to get the CPU package ID instead of
open coding.

Suggested-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Qiuxu Zhuo <qiuxu.zhuo@intel.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Link: https://lore.kernel.org/r/20250903030648.3285935-1-qiuxu.zhuo@intel.com
drivers/edac/skx_common.c