aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wan/hd64570.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wan/hd64570.c')
-rw-r--r--drivers/net/wan/hd64570.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wan/hd64570.c b/drivers/net/wan/hd64570.c
index 64ef6185aaba..223238de475c 100644
--- a/drivers/net/wan/hd64570.c
+++ b/drivers/net/wan/hd64570.c
@@ -107,7 +107,7 @@ static inline u16 desc_abs_number(port_t *port, u16 desc, int transmit)
107 107
108static inline u16 desc_offset(port_t *port, u16 desc, int transmit) 108static inline u16 desc_offset(port_t *port, u16 desc, int transmit)
109{ 109{
110 /* Descriptor offset always fits in 16 bytes */ 110 /* Descriptor offset always fits in 16 bits */
111 return desc_abs_number(port, desc, transmit) * sizeof(pkt_desc); 111 return desc_abs_number(port, desc, transmit) * sizeof(pkt_desc);
112} 112}
113 113