summaryrefslogtreecommitdiffstats
path: root/include/media/sh_mobile_ceu.h
diff options
context:
space:
mode:
authorKaricheri, Muralidharan <m-karicheri2@ti.com>2015-09-23 19:37:08 +0200
committerDavid S. Miller <davem@davemloft.net>2015-09-23 23:37:37 +0200
commite558b1fbf5f43da83f91a31e595a6d65e663b100 (patch)
tree8bc401661d3acf3cf3ddd1d3afc74975d58e713d /include/media/sh_mobile_ceu.h
parentnet: netcp: move netcp_register_interface() to after attach module (diff)
downloadlinux-e558b1fbf5f43da83f91a31e595a6d65e663b100.tar.xz
linux-e558b1fbf5f43da83f91a31e595a6d65e663b100.zip
net: netcp: add error check to netcp_allocate_rx_buf()
Currently, if netcp_allocate_rx_buf() fails due no descriptors in the rx free descriptor queue, inside the netcp_rxpool_refill() function the iterative loop to fill buffers doesn't terminate right away. So modify the netcp_allocate_rx_buf() to return an error code and use it break the loop when there is error. Signed-off-by: Murali Karicheri <m-karicheri2@ti.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/media/sh_mobile_ceu.h')
0 files changed, 0 insertions, 0 deletions