commit | 4cd984b022597b3454c7999addf9d48f41189ea6 | [log] [tgz] |
---|---|---|
author | Daniel Mack <zonque@gmail.com> | Mon Jun 02 13:32:45 2014 +0200 |
committer | David S. Miller <davem@davemloft.net> | Mon Jun 02 10:43:07 2014 -0700 |
tree | 0d7d994612a51ffc01c352114189ad58099cfd6e | |
parent | c7bfbe51d550346d5838a86046b2ec9b43a5732c [diff] |
net: of_mdio: use int type for address variable Use int rather than u32 to fix the following warning: drivers/of/of_mdio.c:147 of_mdiobus_register() warn: unsigned 'addr' is never less than zero. Signed-off-by: Daniel Mack <zonque@gmail.com> Fixes: 8f8382888cba ("net: of_mdio: factor out code to parse a phy's 'reg' property") Signed-off-by: David S. Miller <davem@davemloft.net>