diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2013-05-09 13:11:48 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-05-09 13:11:48 -0400 |
commit | f78089e87e576f91396a5d428d14b552178dfb17 (patch) | |
tree | b1fdef744c0f24959c173660c233bb871d2f6edc /drivers/firewire/net.c | |
parent | 7462543abb87f55b530dfbb8d857645f1cebd756 (diff) | |
parent | 6fe9efb9c9fbce690018c31e652924ae28019868 (diff) |
Merge tag 'firewire-updates' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394
Pull firewure updates from Stefan Richter:
- fix controller removal when controller is in suspended state
- fix video reception on VIA VT6306 with gstreamer, MythTV, and maybe dv4l
- fix a startup issue with Agere/LSI FW643-e2
- error logging improvements and other small updates
* tag 'firewire-updates' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394:
firewire: ohci: dump_stack() for PHY regs read/write failures
firewire: ohci: Improve bus reset error messages
firewire: ohci: Alias dev_* log functions
firewire: ohci: Fix 'failed to read phy reg' on FW643 rev8
firewire: ohci: fix VIA VT6306 video reception
firewire: ohci: Check LPS before register access on pci removal
firewire: ohci: Fix double free_irq()
firewire: remove unnecessary alloc/OOM messages
firewire: sbp2: replace BUG_ON by WARN_ON
firewire: core: remove an always false test
firewire: Remove two unneeded checks for macros
Diffstat (limited to 'drivers/firewire/net.c')
-rw-r--r-- | drivers/firewire/net.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/firewire/net.c b/drivers/firewire/net.c index 4d565365e476..815b0fcbe918 100644 --- a/drivers/firewire/net.c +++ b/drivers/firewire/net.c | |||
@@ -356,10 +356,8 @@ static struct fwnet_fragment_info *fwnet_frag_new( | |||
356 | } | 356 | } |
357 | 357 | ||
358 | new = kmalloc(sizeof(*new), GFP_ATOMIC); | 358 | new = kmalloc(sizeof(*new), GFP_ATOMIC); |
359 | if (!new) { | 359 | if (!new) |
360 | dev_err(&pd->skb->dev->dev, "out of memory\n"); | ||
361 | return NULL; | 360 | return NULL; |
362 | } | ||
363 | 361 | ||
364 | new->offset = offset; | 362 | new->offset = offset; |
365 | new->len = len; | 363 | new->len = len; |
@@ -402,8 +400,6 @@ fail_w_fi: | |||
402 | fail_w_new: | 400 | fail_w_new: |
403 | kfree(new); | 401 | kfree(new); |
404 | fail: | 402 | fail: |
405 | dev_err(&net->dev, "out of memory\n"); | ||
406 | |||
407 | return NULL; | 403 | return NULL; |
408 | } | 404 | } |
409 | 405 | ||
@@ -609,7 +605,6 @@ static int fwnet_incoming_packet(struct fwnet_device *dev, __be32 *buf, int len, | |||
609 | 605 | ||
610 | skb = dev_alloc_skb(len + LL_RESERVED_SPACE(net)); | 606 | skb = dev_alloc_skb(len + LL_RESERVED_SPACE(net)); |
611 | if (unlikely(!skb)) { | 607 | if (unlikely(!skb)) { |
612 | dev_err(&net->dev, "out of memory\n"); | ||
613 | net->stats.rx_dropped++; | 608 | net->stats.rx_dropped++; |
614 | 609 | ||
615 | return -ENOMEM; | 610 | return -ENOMEM; |