The patch titled Subject: drivers/edac/edac_mc_sysfs.c: check the kzalloc return value has been removed from the -mm tree. Its filename was drivers-edac-edac_mc_sysfsc-check-the-kzalloc-return-value.patch This patch was dropped because an updated version will be merged ------------------------------------------------------ From: Denis Kirjanov <kirjanov@xxxxxxxxx> Subject: drivers/edac/edac_mc_sysfs.c: check the kzalloc return value Signed-off-by: Denis Kirjanov <kirjanov@xxxxxxxxx> Cc: Doug Thompson <dougthompson@xxxxxxxxxxxx> Cc: Borislav Petkov <borislav.petkov@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/edac/edac_mc_sysfs.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff -puN drivers/edac/edac_mc_sysfs.c~drivers-edac-edac_mc_sysfsc-check-the-kzalloc-return-value drivers/edac/edac_mc_sysfs.c --- a/drivers/edac/edac_mc_sysfs.c~drivers-edac-edac_mc_sysfsc-check-the-kzalloc-return-value +++ a/drivers/edac/edac_mc_sysfs.c @@ -1136,7 +1136,8 @@ int __init edac_mc_sysfs_init(void) } mci_pdev = kzalloc(sizeof(*mci_pdev), GFP_KERNEL); - + if (!mci_pdev) + return -ENOMEM; mci_pdev->bus = edac_subsys; mci_pdev->type = &mc_attr_type; device_initialize(mci_pdev); _ Patches currently in -mm which might be from kirjanov@xxxxxxxxx are linux-next.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html