Re: [PATCH 1/2] libiscsi: Annotate locking assumptions

2018-03-06 Thread Chris Leech
On Thu, Mar 01, 2018 at 10:07:47AM -0800, Bart Van Assche wrote: > This patch avoids that sparse reports the following: > > drivers/scsi/libiscsi.c:1844:23: warning: context imbalance in > 'iscsi_exec_task_mgmt_fn' - unexpected unlock > > Signed-off-by: Bart Van Assche > Cc: Lee Duncan > Cc: C

Re: [PATCH 2/2] libiscsi: Annotate fall-through

2018-03-06 Thread Chris Leech
On Thu, Mar 01, 2018 at 10:07:48AM -0800, Bart Van Assche wrote: > This patch avoids that building with W=1 causes the compiler to > complain about fall-through. > > Signed-off-by: Bart Van Assche > Cc: Lee Duncan > Cc: Chris Leech > --- > drivers/scsi/libiscsi.c | 1 + > 1 file changed, 1 ins