* [PATCH net] net/mlx4_en: Can set maxrate only for TC0
@ 2012-11-28 11:43 Amir Vadai
2012-11-28 16:16 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Amir Vadai @ 2012-11-28 11:43 UTC (permalink / raw)
To: David S. Miller; +Cc: Or Gerlitz, Oren Duer, Amir Vadai, netdev
Had a typo in memcpy.
Signed-off-by: Amir Vadai <amirv@mellanox.com>
---
drivers/net/ethernet/mellanox/mlx4/en_dcb_nl.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/net/ethernet/mellanox/mlx4/en_dcb_nl.c b/drivers/net/ethernet/mellanox/mlx4/en_dcb_nl.c
index 5d367958..b799ab12 100644
--- a/drivers/net/ethernet/mellanox/mlx4/en_dcb_nl.c
+++ b/drivers/net/ethernet/mellanox/mlx4/en_dcb_nl.c
@@ -237,7 +237,7 @@ static int mlx4_en_dcbnl_ieee_setmaxrate(struct net_device *dev,
if (err)
return err;
- memcpy(priv->maxrate, tmp, sizeof(*priv->maxrate));
+ memcpy(priv->maxrate, tmp, sizeof(priv->maxrate));
return 0;
}
--
1.7.8.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH net] net/mlx4_en: Can set maxrate only for TC0
2012-11-28 11:43 [PATCH net] net/mlx4_en: Can set maxrate only for TC0 Amir Vadai
@ 2012-11-28 16:16 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2012-11-28 16:16 UTC (permalink / raw)
To: amirv; +Cc: ogerlitz, oren, netdev
From: Amir Vadai <amirv@mellanox.com>
Date: Wed, 28 Nov 2012 13:43:15 +0200
> Had a typo in memcpy.
>
> Signed-off-by: Amir Vadai <amirv@mellanox.com>
Applied.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-11-28 16:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-28 11:43 [PATCH net] net/mlx4_en: Can set maxrate only for TC0 Amir Vadai
2012-11-28 16:16 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).