commit | 3b8ab700af0a5c5e59c833f8a88f94b97499f5e5 | [log] [tgz] |
---|---|---|
author | Ira Weiny <ira.weiny@intel.com> | Thu Jun 25 09:52:50 2015 -0400 |
committer | Doug Ledford <dledford@redhat.com> | Tue Jul 14 13:20:08 2015 -0400 |
tree | 61c9df6b14a335d7feb9853a629b63645095c180 | |
parent | cd4cd565e049c6e734a12754d91d1142c25f6a64 [diff] |
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 <ira.weiny@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>