Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 368803
b: refs/heads/master
c: 8f0923c
h: refs/heads/master
i:
  368801: e6ab5bf
  368799: 61fc0b5
v: v3
  • Loading branch information
Devendra Naga authored and David S. Miller committed Mar 30, 2013
1 parent 32f4735 commit c545b07
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 537aadc3a4a0336e432c789c577b7efa0adf4af0
refs/heads/master: 8f0923c17d34ac838b7f57709f87fe33f76ee219
4 changes: 2 additions & 2 deletions trunk/drivers/net/usb/cdc_ncm.c
Original file line number Diff line number Diff line change
Expand Up @@ -362,8 +362,8 @@ int cdc_ncm_bind_common(struct usbnet *dev, struct usb_interface *intf, u8 data_
u8 iface_no;

ctx = kzalloc(sizeof(*ctx), GFP_KERNEL);
if (ctx == NULL)
return -ENODEV;
if (!ctx)
return -ENOMEM;

hrtimer_init(&ctx->tx_timer, CLOCK_MONOTONIC, HRTIMER_MODE_REL);
ctx->tx_timer.function = &cdc_ncm_tx_timer_cb;
Expand Down

0 comments on commit c545b07

Please sign in to comment.