RE: [PATCH 1/6] bus: Add shared MDIO bus framework

From
Pramod Kumar <hidden>
Date
2016-04-25 04:09:49
Also in
linux-arm-kernel, lkml, netdev
Reply to
David Miller, 2016-04-24
Hi David,

Thanks for providing input over the patch.  Will address the comment as
described below.
-----Original Message-----
From: David Miller [mailto:davem@davemloft.net]
Sent: 24 April 2016 23:48
To: <redacted>
Cc: robh+dt@kernel.org; catalin.marinas@arm.com; <redacted>;
yamada.masahiro@socionext.com; wens@csie.org; bcm-kernel-feedback-
list@broadcom.com; pawel.moll@arm.com; mark.rutland@arm.com;
arnd@arndb.de; suzuki.poulose@arm.com; punit.agrawal@arm.com;
devicetree@vger.kernel.org; linux-arm-kernel@lists.infradead.org; linux-
kernel@vger.kernel.org; netdev@vger.kernel.org; anup.patel@broadcom.com
Subject: Re: [PATCH 1/6] bus: Add shared MDIO bus framework

From: Pramod Kumar <redacted>
Date: Thu, 21 Apr 2016 14:48:38 +0530
quoted
+struct shared_mdio_master *shared_mdio_alloc_master(struct device
*parent,
quoted
+						    struct device_node
*node)
quoted
+{
+	int ret = 0;
+	struct shared_mdio_master *master;
Always order local variable declarations in reverse christmas tree
(longest to
shortest line) order.
Sure. Next patch will address this.
quoted
+static int shared_mdio_driver_probe(struct device *dev) {
+	int rc;
+	struct shared_mdio_master *master = to_shared_mdio_master(dev);
+	struct shared_mdio_driver *drv =
to_shared_mdio_driver(dev->driver);
Likewise.
Sure.
Please audit your entire submission for this issue.
Sure. I'll audit the entire patch set for above issue.

Regards,
Pramod
Thread (27 messages) 27 messages, 7 authors, last reply 2016-04-27
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help