The patch titled Subject: c2port: class_create() returns an ERR_PTR has been removed from the -mm tree. Its filename was c2port-class_create-returns-an-err_ptr.patch This patch was dropped because it was merged into mainline or a subsystem tree The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ From: Dan Carpenter <dan.carpenter@xxxxxxxxxx> Subject: c2port: class_create() returns an ERR_PTR class_create() doesn't return a NULL, it only returns ERR_PTRs. Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/misc/c2port/core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff -puN drivers/misc/c2port/core.c~c2port-class_create-returns-an-err_ptr drivers/misc/c2port/core.c --- a/drivers/misc/c2port/core.c~c2port-class_create-returns-an-err_ptr +++ a/drivers/misc/c2port/core.c @@ -984,9 +984,9 @@ static int __init c2port_init(void) " - (C) 2007 Rodolfo Giometti\n"); c2port_class = class_create(THIS_MODULE, "c2port"); - if (!c2port_class) { + if (IS_ERR(c2port_class)) { printk(KERN_ERR "c2port: failed to allocate class\n"); - return -ENOMEM; + return PTR_ERR(c2port_class); } c2port_class->dev_attrs = c2port_attrs; _ Patches currently in -mm which might be from dan.carpenter@xxxxxxxxxx are origin.patch linux-next.patch thermal-spear13xx-checking-for-null-instead-of-is_err.patch slab-introduce-kmalloc_array.patch mm-compaction-make-compact_control-order-signed.patch mm-compaction-make-compact_control-order-signed-fix.patch drivers-leds-leds-tca6507c-cleanup-error-handling-in-tca6507_probe.patch epoll-remove-unneeded-variable-in-reverse_path_check.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