]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Feb 2017 03:24:35 +0000 (22:24 -0500)
commit2194bd1080210c6e85ea262cda9ad0135b3f3c87
tree6d78828600388feaca4d8fc8cf990a885912fb65
parente9ea828f62891ca91e3f80bf4a438f337d59977d
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>
drivers/net/ethernet/qualcomm/emac/emac-ethtool.c