Commit 2961f562 authored by Dongliang Mu's avatar Dongliang Mu Committed by Jakub Kicinski

usbnet: fix the indentation of one code snippet

Every line of code should start with tab (8 characters)
Signed-off-by: default avatarDongliang Mu <mudongliangabcd@gmail.com>
Link: https://lore.kernel.org/r/20210123051102.1091541-1-mudongliangabcd@gmail.comSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 3e841bac
...@@ -1964,12 +1964,12 @@ static int __usbnet_read_cmd(struct usbnet *dev, u8 cmd, u8 reqtype, ...@@ -1964,12 +1964,12 @@ static int __usbnet_read_cmd(struct usbnet *dev, u8 cmd, u8 reqtype,
cmd, reqtype, value, index, buf, size, cmd, reqtype, value, index, buf, size,
USB_CTRL_GET_TIMEOUT); USB_CTRL_GET_TIMEOUT);
if (err > 0 && err <= size) { if (err > 0 && err <= size) {
if (data) if (data)
memcpy(data, buf, err); memcpy(data, buf, err);
else else
netdev_dbg(dev->net, netdev_dbg(dev->net,
"Huh? Data requested but thrown away.\n"); "Huh? Data requested but thrown away.\n");
} }
kfree(buf); kfree(buf);
out: out:
return err; return err;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment