Re: [PATCH v2 6/6] scsi_io_completion convert BUGs to WARNs

2018-03-26 Thread Bart Van Assche
On Sun, 2018-03-18 at 21:59 +0100, Douglas Gilbert wrote: > --- a/drivers/scsi/scsi_lib.c > +++ b/drivers/scsi/scsi_lib.c > @@ -1048,13 +1048,20 @@ void scsi_io_completion(struct scsi_cmnd *cmd, > unsigned int good_bytes) > scsi_req(req->next_rq)->resid_len =

Re: [PATCH v2 6/6] scsi_io_completion convert BUGs to WARNs

2018-03-19 Thread Johannes Thumshirn
Looks good, Reviewed-by: Johannes Thumshirn -- Johannes Thumshirn Storage jthumsh...@suse.de+49 911 74053 689 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: Felix Imendörffer, Jane Smithard, Graham

[PATCH v2 6/6] scsi_io_completion convert BUGs to WARNs

2018-03-18 Thread Douglas Gilbert
The scsi_io_completion function contains three BUG() and BUG_ON() calls. Replace them with WARN variants. Signed-off-by: Douglas Gilbert --- This was done at a reviewer's request. This patchset did not change those BUG() lines but the git-diff suggested it did. Then the