| Submitter | Jeff Mahoney |
|---|---|
| Date | Nov. 20, 2012, 8:23 p.m. |
| Message ID | <50ABE6B1.7060308@suse.com> |
| Download | mbox | patch |
| Permalink | /patch/200504/ |
| State | Accepted |
| Delegated to: | David Miller |
| Headers | show |
Comments
From: Jeff Mahoney <jeffm@suse.com> Date: Tue, 20 Nov 2012 15:23:13 -0500 > Commit 71c6c837 (drivers/net: fix tasklet misuse issue) introduced a > build failure in the xilinx driver. axienet_dma_err_handler isn't > declared before its use in axienet_open. > > This patch provides the prototype before axienet_open. > > Cc: Xiaotian Feng <dannyfeng@tencent.com> > Signed-off-by: Jeff Mahoney <jeffm@suse.com> Applied. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Patch
--- a/drivers/net/ethernet/xilinx/xilinx_axienet_main.c +++ b/drivers/net/ethernet/xilinx/xilinx_axienet_main.c @@ -894,6 +894,8 @@ out: return IRQ_HANDLED; } +static void axienet_dma_err_handler(unsigned long data); + /** * axienet_open - Driver open routine. * @ndev: Pointer to net_device structure
Commit 71c6c837 (drivers/net: fix tasklet misuse issue) introduced a build failure in the xilinx driver. axienet_dma_err_handler isn't declared before its use in axienet_open. This patch provides the prototype before axienet_open. Cc: Xiaotian Feng <dannyfeng@tencent.com> Signed-off-by: Jeff Mahoney <jeffm@suse.com> --- drivers/net/ethernet/xilinx/xilinx_axienet_main.c | 2 ++ 1 file changed, 2 insertions(+) -- Jeff Mahoney SUSE Labs -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html