]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
drivers: net: xgene: fix kbuild warnings
authorIyappan Subramanian <isubramanian@apm.com>
Thu, 30 Apr 2015 23:09:17 +0000 (16:09 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 May 2015 02:30:07 +0000 (22:30 -0400)
commit9dd3c797496affd699805c8a9d8429ad318c892f
tree8a5326839fa50ec53206627318f699aecd7dc94e
parent327941f8d322685633f74fb43dc3aec86529f5f4
drivers: net: xgene: fix kbuild warnings

Fixed the following kbuild warnings:
1. unused variable 'of_id'
2. buffer overflow 'ring_cfg' 5 <= 5

Signed-off-by: Iyappan Subramanian <isubramanian@apm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/apm/xgene/xgene_enet_main.c
drivers/net/ethernet/apm/xgene/xgene_enet_main.h