]> git.baikalelectronics.ru Git - kernel.git/commit
stmmac: remove warning when compile as built-in (V2)
authorGiuseppe CAVALLARO <peppe.cavallaro@st.com>
Wed, 20 Jul 2011 00:05:22 +0000 (00:05 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 21 Jul 2011 22:29:16 +0000 (15:29 -0700)
commitc9a9e682b017c4373ca6a72a57c425ee595a9da9
tree22f51c310031175e25be0c34f570514696028295
parent7fff1669748aa0dcc1790ef3139ed8c421bc5ffc
stmmac: remove warning when compile as built-in (V2)

The patch removes the following serie of warnings
when the driver is compiled as built-in:

drivers/net/stmmac/stmmac_main.c: In function stmmac_cmdline_opt:
drivers/net/stmmac/stmmac_main.c:1855:12: warning: ignoring return
value of kstrtoul, declared with attribute warn_unused_result
[snip]

Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/stmmac/stmmac_main.c