[PATCH] Staging:android:ion:ion.c : Using WARN_ON() rather than BUG()

From: harsha
Date: Tue Aug 29 2017 - 15:23:05 EST


Hi,
harsha, this is my real name.
There is no need to call BUG() over here as this error is not very basic and BUG() tends to bring the system down so calling WARN_ON() is preferable.
Please correct me if I am wrong as this is my first contribution.
I am unable to send any direct mail from gmail( gets rejected based on some filter rule match) so trying to send it in this way.
Thanks.