]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
net: qcom/emac: fix a sizeof() typo
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 13 Feb 2017 11:00:22 +0000 (14:00 +0300)
committerSeth Forshee <seth.forshee@canonical.com>
Thu, 23 Feb 2017 20:29:35 +0000 (14:29 -0600)
commit6b2ffefbd17ef4a4fe26fc33e00536246a1062ed
tree2bbf1eb58f27dc24f08f380c39ee3fe8ccdd2c35
parent6fdb33637792737b96f1b93cddbd969c481be88d
net: qcom/emac: fix a sizeof() typo

We had intended to say "sizeof(u32)" but the "u" is missing.
Fortunately, sizeof(32) is also 4, so the original code still works.

Fixes: c4e7beea2192 ("net: qcom/emac: add ethtool support for reading hardware registers")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Timur Tabi <timur@codeaurora.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit 2194bd1080210c6e85ea262cda9ad0135b3f3c87)
Signed-off-by: dann frazier <dann.frazier@canonical.com>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
drivers/net/ethernet/qualcomm/emac/emac-ethtool.c