Thread (7 messages) 7 messages, 3 authors, 2013-06-27

Re: [PATCH v1 2/3] pch_gbe: convert pr_* to netdev_*

From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Date: 2013-06-27 07:55:13

On Wed, 2013-06-26 at 13:41 -0700, David Miller wrote: 
From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Date: Wed, 26 Jun 2013 19:13:36 +0300
quoted
diff --git a/drivers/staging/media/lirc/lirc_igorplugusb.c b/drivers/staging/media/lirc/lirc_igorplugusb.c
index 28c8b0b..25df7cf 100644
--- a/drivers/staging/media/lirc/lirc_igorplugusb.c
+++ b/drivers/staging/media/lirc/lirc_igorplugusb.c
@@ -408,7 +408,7 @@ static int igorplugusb_remote_probe(struct usb_interface *intf,
 	dprintk(DRIVER_NAME "[%d]: bytes_in_key=%zu maxp=%d\n",
 		devnum, CODE_LENGTH, maxp);
 
-	ir = devm_kzalloc(&intf->dev, sizeof(*ir), GFP_KERNEL);
+	ir = devm_kzalloc(&dev->dev, sizeof(*ir), GFP_KERNEL);
 	if (!ir)
 		return -ENOMEM;
 
This definitely wasn't supposed to be in this patch series.

Please repost this set with this hunk removed.
Oops, sure.

-- 
Andy Shevchenko [off-list ref]
Intel Finland Oy
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help