Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751357AbdH2TXD (ORCPT ); Tue, 29 Aug 2017 15:23:03 -0400 Received: from mail-pg0-f67.google.com ([74.125.83.67]:35460 "EHLO mail-pg0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750822AbdH2TXB (ORCPT ); Tue, 29 Aug 2017 15:23:01 -0400 From: harsha To: gregkh@linuxfoundation.org Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: [PATCH] Staging:android:ion:ion.c : Using WARN_ON() rather than BUG() Date: Wed, 30 Aug 2017 00:51:01 +0530 Message-Id: <1504034462-13195-1-git-send-email-harshasharmaiitr@gmail.com> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 388 Lines: 6 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.