[PATCH 2/2] usb: f_fs: replace BUG in dead-code with less serious WARN_ON

2014-09-10 Thread Michal Nazarewicz
Even though the BUG() in __ffs_event_add is a dead-code, it is still better to warn rather then crash the system if that code ever gets executed. Suggested-by: Felipe Balbi ba...@ti.com Signed-off-by: Michal Nazarewicz min...@mina86.com --- This has been compile tested only.

Re: [PATCH 2/2] usb: f_fs: replace BUG in dead-code with less serious WARN_ON

2014-09-10 Thread Felipe Balbi
On Wed, Sep 10, 2014 at 05:50:25PM +0200, Michal Nazarewicz wrote: Even though the BUG() in __ffs_event_add is a dead-code, it is still better to warn rather then crash the system if that code ever gets executed. Suggested-by: Felipe Balbi ba...@ti.com Signed-off-by: Michal Nazarewicz