Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

platform/x86/intel/pmt: Correct the typo 'ACCCESS_LOCAL'

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>

authored by

WangYuli and committed by
Ilpo Järvinen
31440fe7 9852d85e

+1 -1
+1 -1
drivers/platform/x86/intel/pmt/class.c
··· 207 207 /* 208 208 * Some hardware use a different calculation for the base address 209 209 * when access_type == ACCESS_LOCAL. On the these systems 210 - * ACCCESS_LOCAL refers to an address in the same BAR as the 210 + * ACCESS_LOCAL refers to an address in the same BAR as the 211 211 * header but at a fixed offset. But as the header address was 212 212 * supplied to the driver, we don't know which BAR it was in. 213 213 * So search for the bar whose range includes the header address.