]> git.proxmox.com Git - mirror_ubuntu-disco-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)
commitf3240e2811f05f11126b0947ff9bb411b692b2aa
tree22f51c310031175e25be0c34f570514696028295
parent3bec5dcc649bf6b9c8f9ea996c3333381665f263
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