]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - drivers/edac/amd64_edac.c
xhci: Fix NULL pointer deref in handle_port_status()
[mirror_ubuntu-bionic-kernel.git] / drivers / edac / amd64_edac.c
index 0be30e978c859c46a3c576b92a49e750453b390f..31e71c4fc83171e7da846740533f63131189327b 100644 (file)
@@ -2679,7 +2679,7 @@ static int __init amd64_edac_init(void)
        mcis      = kzalloc(amd_nb_num() * sizeof(mcis[0]), GFP_KERNEL);
        ecc_stngs = kzalloc(amd_nb_num() * sizeof(ecc_stngs[0]), GFP_KERNEL);
        if (!(mcis && ecc_stngs))
-               goto err_ret;
+               goto err_free;
 
        msrs = msrs_alloc();
        if (!msrs)