Skip to contentSkip to conversation

patch

KJ [email protected] 1 participant 1 message Jul 10, 2007

Subsystems (3)
lore
Share & tools
lore

[email protected]

author Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

Subject: USB: ohci-pnx4008: Remove unnecessary cast of return value of kzalloc

to my gregkh-2.6 tree. Its filename is

usb-ohci-pnx4008-remove-unnecessary-cast-of-return-value-of-kzalloc.patch

This tree can be found at
http://www.kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/patches/

From [email protected] Thu Jun 28 10:16:37 2007
From: Suresh Jayaraman <[email protected]>
Date: Thu, 28 Jun 2007 11:16:30 -0600
Subject: USB: ohci-pnx4008: Remove unnecessary cast of return value of kzalloc
To: <[email protected]>
Message-ID: <[email protected]>
Content-Disposition: inline

Remove unnecessary cast of return value of kzalloc() in usb/host/ohci-pnx4008.c

---
 drivers/usb/host/ohci-pnx4008.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/usb/host/ohci-pnx4008.c +1 -1
@@ -134,7 +134,7 @@ static int isp1301_attach(struct i2c_ada
 {
 	struct i2c_client *c;
 
-	c = (struct i2c_client *)kzalloc(sizeof(*c), GFP_KERNEL);
+	c = kzalloc(sizeof(*c), GFP_KERNEL);
 
 	if (!c)
 		return -ENOMEM;

Patches currently in gregkh-2.6 which might be from [email protected] are

usb/usb-ohci-pnx4008-remove-unnecessary-cast-of-return-value-of-kzalloc.patch
_______________________________________________
REMINDER: this mailing list moved to vger.kernel.org and current one will be discontinued soon. To resubscribe, send email to [email protected] with
&quot;subscribe kernel-janitors&quot; in message body and follow instructions.

Kernel-janitors mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/kernel-janitors