Skip to content

Commit 3477144

Browse files
committed
driver core: cpu: Fix the fallback cpu_show_gds() name
In 6524c79 ("driver core: cpu: Make cpu_show_not_affected() static") I fat-fingered the name of cpu_show_gds(). Usually, I'd rebase but since those are extraordinary embargoed times, the commit above was already pulled into another tree so no no. Therefore, fix it ontop. Fixes: 6524c79 ("driver core: cpu: Make cpu_show_not_affected() static") Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Link: https://lore.kernel.org/r/20230811095831.27513-1-bp@alien8.de
1 parent eb3515d commit 3477144

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/base/cpu.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,7 @@ CPU_SHOW_VULN_FALLBACK(srbds);
532532
CPU_SHOW_VULN_FALLBACK(mmio_stale_data);
533533
CPU_SHOW_VULN_FALLBACK(retbleed);
534534
CPU_SHOW_VULN_FALLBACK(spec_rstack_overflow);
535-
CPU_SHOW_VULN_FALLBACK(gather_data_sampling);
535+
CPU_SHOW_VULN_FALLBACK(gds);
536536

537537
static DEVICE_ATTR(meltdown, 0444, cpu_show_meltdown, NULL);
538538
static DEVICE_ATTR(spectre_v1, 0444, cpu_show_spectre_v1, NULL);
@@ -546,7 +546,7 @@ static DEVICE_ATTR(srbds, 0444, cpu_show_srbds, NULL);
546546
static DEVICE_ATTR(mmio_stale_data, 0444, cpu_show_mmio_stale_data, NULL);
547547
static DEVICE_ATTR(retbleed, 0444, cpu_show_retbleed, NULL);
548548
static DEVICE_ATTR(spec_rstack_overflow, 0444, cpu_show_spec_rstack_overflow, NULL);
549-
static DEVICE_ATTR(gather_data_sampling, 0444, cpu_show_gather_data_sampling, NULL);
549+
static DEVICE_ATTR(gather_data_sampling, 0444, cpu_show_gds, NULL);
550550

551551
static struct attribute *cpu_root_vulnerabilities_attrs[] = {
552552
&dev_attr_meltdown.attr,

0 commit comments

Comments
 (0)