From: Ira Weiny Date: Thu, 25 Jun 2015 13:52:50 +0000 (-0400) Subject: IB/mad: Remove improper use of BUG_ON X-Git-Tag: omap-for-v4.3/fixes-merge-window~240^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3b8ab700af0a5c5e59c833f8a88f94b97499f5e5;p=pandora-kernel.git IB/mad: Remove improper use of BUG_ON We recently added BUG_ON's which were inappropriate for a condition which should never happen. Change these to be WARN_ON_ONCE as a debugging aid. Fixes: 4cd7c9479aff ('IB/mad: Add support for additional MAD info to/from drivers') Signed-off-by: Ira Weiny Signed-off-by: Doug Ledford --- Reading git-diff-tree failed