From: Yuval Mintz Date: Thu, 25 Jun 2015 12:19:23 +0000 (+0300) Subject: bnx2x: Prevent false warning when accessing MACs X-Git-Tag: omap-for-v4.2/fixes-rc1^2~57^2~25^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9d18d270d7d160d8fa2f9d9af4545d17cbab91d8;p=pandora-kernel.git bnx2x: Prevent false warning when accessing MACs Each time a flow finishes reads from the classification shadow configuration in the driver, that flow would check for pending commands and pass them to FW if possible. In case there's already a completion pending command, I.e., a ramrod that has been sent to the FW and is yet to be completed while said flow tries to configure the pending command we would get a false error message in logs [and panic if SOE was used for driver compilation] since the command could not have been completed. This prevents said print [and panic]; The pending command will be sent by the time the completion of the current sent command would arrive. Signed-off-by: Yuval Mintz Signed-off-by: Ariel Elior Signed-off-by: David S. Miller --- Reading git-diff-tree failed