diff options
author | John Crispin <blogic@openwrt.org> | 2015-02-09 12:09:17 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2015-02-09 12:09:17 +0000 |
commit | 237b0069dcc45b0c0f5795f2e8b40c0492fe6e12 (patch) | |
tree | a976a7e7d83d4f1b810f3972b1793a48968b92e7 /target/linux/generic | |
parent | c10ed85ffbab11e4c2341070bff17404e54fac26 (diff) | |
download | upstream-237b0069dcc45b0c0f5795f2e8b40c0492fe6e12.tar.gz upstream-237b0069dcc45b0c0f5795f2e8b40c0492fe6e12.tar.bz2 upstream-237b0069dcc45b0c0f5795f2e8b40c0492fe6e12.zip |
kernel: fix compile error inside adm6996.c
drivers/net/phy/adm6996.c:881:5: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'u32' [-Wformat=]
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44333 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic')
-rw-r--r-- | target/linux/generic/files/drivers/net/phy/adm6996.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/generic/files/drivers/net/phy/adm6996.c b/target/linux/generic/files/drivers/net/phy/adm6996.c index cbb3e85fba..bf5ed15933 100644 --- a/target/linux/generic/files/drivers/net/phy/adm6996.c +++ b/target/linux/generic/files/drivers/net/phy/adm6996.c @@ -876,7 +876,7 @@ adm6996_sw_get_port_mib(struct switch_dev *dev, reg = r16(priv, adm6996_mibs[i].offset + ADM_OFFSET_PORT(port)); reg += r16(priv, adm6996_mibs[i].offset + ADM_OFFSET_PORT(port) + 1) << 16; len += snprintf(buf + len, sizeof(priv->buf) - len, - "%-12s: %lu\n", + "%-12s: %u\n", adm6996_mibs[i].name, reg); } |