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.

Merge tag 'edac_urgent_for_7.0' of git://git.kernel.org/pub/scm/linux/kernel/git/ras/ras

Pull EDAC fix from Borislav Petkov:

- Fix the error path ordering when the driver-private descriptor
allocation fails

* tag 'edac_urgent_for_7.0' of git://git.kernel.org/pub/scm/linux/kernel/git/ras/ras:
EDAC/mc: Fix error path ordering in edac_mc_alloc()

+3 -3
+3 -3
drivers/edac/edac_mc.c
··· 369 369 if (!mci->layers) 370 370 goto error; 371 371 372 + mci->dev.release = mci_release; 373 + device_initialize(&mci->dev); 374 + 372 375 mci->pvt_info = kzalloc(sz_pvt, GFP_KERNEL); 373 376 if (!mci->pvt_info) 374 377 goto error; 375 - 376 - mci->dev.release = mci_release; 377 - device_initialize(&mci->dev); 378 378 379 379 /* setup index and various internal pointers */ 380 380 mci->mc_idx = mc_num;