be2net: Rework PCIe error report log messaging
authorAjit Khaparde <ajit.khaparde@emulex.com>
Fri, 18 Oct 2013 21:06:24 +0000 (16:06 -0500)
committerDavid S. Miller <davem@davemloft.net>
Sat, 19 Oct 2013 23:13:28 +0000 (19:13 -0400)
commitea58c18062f04d483d0b4bea51b1e7219b519255
tree38233fc9f0a862d14217634dbf39fe37a37d3c79
parentc1b1203d65955c179fec617ff17a21273f33a414
be2net: Rework PCIe error report log messaging

Currently we log a message whenever pcie_enable_error_reporting fails.
The message clutters up logs, especially when we don't support it for VFs.
Instead enable this only for PFs and log a message when the call succeeds.

Signed-off-by: Ajit Khaparde <ajit.khaparde@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be_main.c