"ethtool -i" on a bnx2x interface causes kernel panic when the firmware version is longer than expected. The attached patch fixes the problem by simplifying the string handling in bnx2x_fill_fw_str(). It applies cleanly to 4.14 and 4.17-rc1. -- Sebastian Kuzminsky