]> git.baikalelectronics.ru Git - kernel.git/commit
bnxt_en: Suppress HWRM errors for HWRM_NVM_GET_VARIABLE command
authorVasundhara Volam <vasundhara-v.volam@broadcom.com>
Sat, 17 Aug 2019 21:04:50 +0000 (17:04 -0400)
committerDavid S. Miller <davem@davemloft.net>
Sun, 18 Aug 2019 20:05:01 +0000 (13:05 -0700)
commit04b93220f3623c9ae9c86f65318485c90187e6b0
treede074273bec861bc90fdb42c44b4272f5f9fb483
parent6ecea6fb4b992a5d0e20be915a8e5b70f904bf76
bnxt_en: Suppress HWRM errors for HWRM_NVM_GET_VARIABLE command

For newly added NVM parameters, older firmware may not have the support.
Suppress the error message to avoid the unncessary error message which is
triggered when devlink calls the driver during initialization.

Fixes: 3884ca8f2d71 ("bnxt_en: Add bnxt_en initial params table and register it.")
Signed-off-by: Vasundhara Volam <vasundhara-v.volam@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c