public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Staging:android:ion:ion.c : Using WARN_ON() rather than BUG() Signed-off-by: harsha <harshasharmaiitr@gmail.com>
@ 2017-08-25 17:34 harsha
  2017-08-25 20:28 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: harsha @ 2017-08-25 17:34 UTC (permalink / raw)
  To: gregkh; +Cc: devel, linux-kernel, harsha

---
 drivers/staging/android/ion/ion.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/android/ion/ion.c b/drivers/staging/android/ion/ion.c
index 93e2c90..a2d36b3 100644
--- a/drivers/staging/android/ion/ion.c
+++ b/drivers/staging/android/ion/ion.c
@@ -66,7 +66,7 @@ static void ion_buffer_add(struct ion_device *dev,
 			p = &(*p)->rb_right;
 		} else {
 			pr_err("%s: buffer already found.", __func__);
-			BUG();
+			WARN_ON();
 		}
 	}
 
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-08-25 20:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-25 17:34 [PATCH] Staging:android:ion:ion.c : Using WARN_ON() rather than BUG() Signed-off-by: harsha <harshasharmaiitr@gmail.com> harsha
2017-08-25 20:28 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox