net: thunderx: Suppress alloc_pages() failure warnings
authorSunil Goutham <sgoutham@cavium.com>
Wed, 29 Jul 2015 13:49:41 +0000 (16:49 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 30 Jul 2015 06:52:31 +0000 (23:52 -0700)
commitf8ce9666fa63da7e5afd9ff6e3221f86555621f3
tree7186d08c8ba245538c045b67ca814b5f0d3c9e38
parent2cb468e01e6fdad3d8a00da6cda71094e0e05676
net: thunderx: Suppress alloc_pages() failure warnings

Suppressing standard alloc_pages() warnings. Some kernel configs limit
alloc size and the network driver may fail. Do not drop a kernel
warning in this case, instead just drop a oneliner that the network
driver could not be loaded since the buffer could not be allocated.

Signed-off-by: Sunil Goutham <sgoutham@cavium.com>
Signed-off-by: Aleksey Makarov <aleksey.makarov@caviumnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cavium/thunder/nicvf_queues.c