bnx2fc: Do not log error for netevents that need no action
authorShirish Pargaonkar <shirishpargaonkar@gmail.com>
Fri, 6 Jun 2014 18:05:59 +0000 (13:05 -0500)
committerJames Bottomley <JBottomley@Odin.com>
Tue, 27 Oct 2015 01:29:13 +0000 (10:29 +0900)
commitd6dbad420a00fbc06c7c9168f75ec66bb2120a18
tree63a2b83ffa81b7be7b85ae1a8eaa611ffe4a1bcd
parentbaae8fac019a5d0dc3f39be0f867d13b5c8ee59a
bnx2fc: Do not log error for netevents that need no action

Do not log error for netevents that need no action such as
NETDEV_REGISTER 0x0005, NETDEV_CHANGEADDR, and NETDEV_CHANGENAME.
It results in logging error messages such as these

[   35.315872] bnx2fc: Unknown netevent 5
[   35.315935] bnx2fc: Unknown netevent 8
[   35.353866] bnx2fc: Unknown netevent 10

and generating bug reports.
Remove logging this message as an ERROR instead of turning them into
either DEBUG or INFO level messages.

Signed-off-by: Shirish Pargaonkar <spargaonkar@suse.com>
Acked-by: Eddie Wai <eddie.wai@broadcom.com>
Acked-by: Chad Dupuis <chad.dupuis@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
drivers/scsi/bnx2fc/bnx2fc_fcoe.c