Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1722633
| From | harsha <harshasharmaiitr@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH] Staging:android:ion:ion.c : Using WARN_ON() rather than BUG() |
| Date | 2017-08-29 19:30 +0200 |
| Message-ID | <ujSuR-5uV-1@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Signed-off-by: harsha <harshasharmaiitr@gmail.com>
---
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
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH] Staging:android:ion:ion.c : Using WARN_ON() rather than BUG() harsha <harshasharmaiitr@gmail.com> - 2017-08-29 19:30 +0200 Re: [PATCH] Staging:android:ion:ion.c : Using WARN_ON() rather than BUG() Greg KH <gregkh@linuxfoundation.org> - 2017-08-29 19:30 +0200
csiph-web