Re: [PATCH] scsi: clear UAC before sending SG_IO

2020-09-10 Thread kernel test robot
Hi Randall, Thank you for the patch! Yet something to improve: [auto build test ERROR on mkp-scsi/for-next] [also build test ERROR on scsi/for-next v5.9-rc4 next-20200910] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base'

Re: [PATCH] scsi: clear UAC before sending SG_IO

2020-09-10 Thread Douglas Gilbert
On 2020-09-10 6:15 a.m., Randall Huang wrote: Make sure UAC is clear before sending SG_IO. Signed-off-by: Randall Huang This patch just looks wrong. Imagine if every LLD front loaded some LLD specific code before each invocation of ioctl(SG_IO). Is UAC Unit Attention Condition? If so the mid-

Re: [PATCH] scsi: clear UAC before sending SG_IO

2020-09-10 Thread kernel test robot
Hi Randall, Thank you for the patch! Yet something to improve: [auto build test ERROR on mkp-scsi/for-next] [also build test ERROR on scsi/for-next v5.9-rc4 next-20200910] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base'

[PATCH] scsi: clear UAC before sending SG_IO

2020-09-10 Thread Randall Huang
Make sure UAC is clear before sending SG_IO. Signed-off-by: Randall Huang --- drivers/scsi/sg.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/scsi/sg.c b/drivers/scsi/sg.c index 20472aaaf630..ad11bca47ae8 100644 --- a/drivers/scsi/sg.c +++ b/drivers/scsi/sg.c @@ -922,6 +922