commit | 43553b47c3124e7f4a9f115cff9db513b35a5e0a | [log] [tgz] |
---|---|---|
author | Bart Van Assche <bart.vanassche@sandisk.com> | Tue Jan 10 11:15:47 2017 -0800 |
committer | Doug Ledford <dledford@redhat.com> | Tue Jan 10 16:52:47 2017 -0500 |
tree | 408a1e2b7e1dfbd97e223df17ce51e58282bcffb | |
parent | 32404fb76408e873d79d0723fda3207b18d235ad [diff] |
IB/rxe: Issue warnings once It is strongly recommended to report kernel warnings once instead of every time a condition is hit. Hence change WARN_ON() into WARN_ON_ONCE() / BUILD_BUG_ON() as appropriate. Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com> Reviewed-by: Leon Romanovsky <leonro@mellanox.com> Reviewed-by: Andrew Boyer <andrew.boyer@dell.com> Cc: Moni Shoua <monis@mellanox.com> Signed-off-by: Doug Ledford <dledford@redhat.com>