Re: [PATCH 4/4] staging: unisys: visornic: convert BUG_ON to dev_err() message

2016-04-11 Thread Greg KH
On Mon, Apr 04, 2016 at 11:31:14PM -0400, David Kershner wrote: > From: Tim Sell > > The caller of visor_copy_fragsinfo_from_skb() is prepared to log a > dev_err() message if it fails (by returning a negative value), so we now > just fail in the one occasion where

[PATCH 4/4] staging: unisys: visornic: convert BUG_ON to dev_err() message

2016-04-04 Thread David Kershner
From: Tim Sell The caller of visor_copy_fragsinfo_from_skb() is prepared to log a dev_err() message if it fails (by returning a negative value), so we now just fail in the one occasion where visor_copy_fragsinfo_from_skb() was doing a BUG_ON. There was also a problem