bnx2: broken firware loading

From: Frank Reppin
Date: Tue Nov 08 2016 - 17:57:42 EST


Hellos,

... firmware loading seems to be somewhat broken now with/since

https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/drivers/net/ethernet/broadcom/bnx2.c?id=3e1be7ad2d38c6bd6aeef96df9bd0a7822f4e51c

which gives me - on 4.8.6:

bnx2 0000:05:00.0: Direct firmware load for bnx2/bnx2-mips-06-6.2.3.fw failed with error -2

Reverting this commit does fix it (tested on 4.8.6 too) - but it's ofcourse not what you've initially intended.

TIA,
Frank Reppin

--
43rd Law of Computing:
Anything that can go wr
fortune: Segmentation violation -- Core dumped