From: Chuck Lever Date: Tue, 13 Jan 2015 16:03:03 +0000 (-0500) Subject: svcrdma: Scrub BUG_ON() and WARN_ON() call sites X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~106^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3fe04ee9f91084e7e6e999b09b8b15bcf97375e8;p=pandora-kernel.git svcrdma: Scrub BUG_ON() and WARN_ON() call sites Current convention is to avoid using BUG_ON() in places where an oops could cause complete system failure. Replace BUG_ON() call sites in svcrdma with an assertion error message and allow execution to continue safely. Some BUG_ON() calls are removed because they have never fired in production (that we are aware of). Some WARN_ON() calls are also replaced where a back trace is not helpful; e.g., in a workqueue task. Signed-off-by: Chuck Lever Reviewed-by: Steve Wise Signed-off-by: J. Bruce Fields --- Reading git-diff-tree failed