net: cdc_ncm: fix argument alignment
Reported-by: Joe Perches <joe@perches.com> Signed-off-by: Bjørn Mork <bjorn@mork.no> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
50f1cb1cc8
commit
916f76405f
|
@ -1327,14 +1327,14 @@ cdc_ncm_speed_change(struct usbnet *dev,
|
|||
*/
|
||||
if ((tx_speed > 1000000) && (rx_speed > 1000000)) {
|
||||
netif_info(dev, link, dev->net,
|
||||
"%u mbit/s downlink %u mbit/s uplink\n",
|
||||
(unsigned int)(rx_speed / 1000000U),
|
||||
(unsigned int)(tx_speed / 1000000U));
|
||||
"%u mbit/s downlink %u mbit/s uplink\n",
|
||||
(unsigned int)(rx_speed / 1000000U),
|
||||
(unsigned int)(tx_speed / 1000000U));
|
||||
} else {
|
||||
netif_info(dev, link, dev->net,
|
||||
"%u kbit/s downlink %u kbit/s uplink\n",
|
||||
(unsigned int)(rx_speed / 1000U),
|
||||
(unsigned int)(tx_speed / 1000U));
|
||||
"%u kbit/s downlink %u kbit/s uplink\n",
|
||||
(unsigned int)(rx_speed / 1000U),
|
||||
(unsigned int)(tx_speed / 1000U));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue