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
This commit is contained in:
@@ -356,10 +356,8 @@ static struct fwnet_fragment_info *fwnet_frag_new(
|
||||
}
|
||||
|
||||
new = kmalloc(sizeof(*new), GFP_ATOMIC);
|
||||
if (!new) {
|
||||
dev_err(&pd->skb->dev->dev, "out of memory\n");
|
||||
if (!new)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
new->offset = offset;
|
||||
new->len = len;
|
||||
@@ -402,8 +400,6 @@ fail_w_fi:
|
||||
fail_w_new:
|
||||
kfree(new);
|
||||
fail:
|
||||
dev_err(&net->dev, "out of memory\n");
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
||||
@@ -609,7 +605,6 @@ static int fwnet_incoming_packet(struct fwnet_device *dev, __be32 *buf, int len,
|
||||
|
||||
skb = dev_alloc_skb(len + LL_RESERVED_SPACE(net));
|
||||
if (unlikely(!skb)) {
|
||||
dev_err(&net->dev, "out of memory\n");
|
||||
net->stats.rx_dropped++;
|
||||
|
||||
return -ENOMEM;
|
||||
|
Reference in New Issue
Block a user