We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent deedec0 commit 7543365Copy full SHA for 7543365
arch/x86/events/amd/uncore.c
@@ -1009,7 +1009,8 @@ static struct amd_uncore uncores[UNCORE_TYPE_MAX] = {
1009
static int __init amd_uncore_init(void)
1010
{
1011
struct amd_uncore *uncore;
1012
- int ret, i;
+ int ret = -ENODEV;
1013
+ int i;
1014
1015
if (boot_cpu_data.x86_vendor != X86_VENDOR_AMD &&
1016
boot_cpu_data.x86_vendor != X86_VENDOR_HYGON)
0 commit comments