Unverified Commit 45002b04 authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!14999 scsi: bfa: Fix use-after-free in bfad_im_module_exit()

parents a8b5d6a5 4eae58a1
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -1711,9 +1711,8 @@ bfad_init(void)

	error = bfad_im_module_init();
	if (error) {
		error = -ENOMEM;
		printk(KERN_WARNING "bfad_im_module_init failure\n");
		goto ext;
		return -ENOMEM;
	}

	if (strcmp(FCPI_NAME, " fcpim") == 0)