]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
platform/x86/intel/pmt: Correct the typo 'ACCCESS_LOCAL'
authorWangYuli <wangyuli@uniontech.com>
Fri, 20 Sep 2024 14:17:04 +0000 (22:17 +0800)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Thu, 3 Oct 2024 10:54:53 +0000 (13:54 +0300)
There is a spelling mistake of 'ACCCESS_LOCAL' which should be
'ACCESS_LOCAL'.

Cc: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: WangYuli <wangyuli@uniontech.com>
Link: https://lore.kernel.org/r/4F742FFF72DFD84F+20240920141704.34373-1-wangyuli@uniontech.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/x86/intel/pmt/class.c

index c04bb7f97a4db13268fc5697887951cf8f0f5a25..7680474c4f968e22643d935b548817c7dc6c8fb7 100644 (file)
@@ -207,7 +207,7 @@ static int intel_pmt_populate_entry(struct intel_pmt_entry *entry,
                /*
                 * Some hardware use a different calculation for the base address
                 * when access_type == ACCESS_LOCAL. On the these systems
-                * ACCCESS_LOCAL refers to an address in the same BAR as the
+                * ACCESS_LOCAL refers to an address in the same BAR as the
                 * header but at a fixed offset. But as the header address was
                 * supplied to the driver, we don't know which BAR it was in.
                 * So search for the bar whose range includes the header address.