RE: [PATCH v8 0/8] scsi: Add ufs bsg endpoint

2018-10-04 Thread Bean Huo (beanhuo)
Hi, Avri

>We tested it on a Hikey-960 platform with a V4.14 kernel, "modernized" by
>recent bsg and ufs patches.

Which kernel version is V8 based on? I patched to 4.14-rc7, it failed.

 



[PATCH -next] scsi: lpfc: Remove set but not used variables 'tgtp'

2018-10-04 Thread YueHaibing
Fixes gcc '-Wunused-but-set-variable' warning:

drivers/scsi/lpfc/lpfc_debugfs.c: In function 'lpfc_debugfs_nodelist_data':
drivers/scsi/lpfc/lpfc_debugfs.c:553:29: warning:
 variable 'tgtp' set but not used [-Wunused-but-set-variable]

It never used since 2b65e18202fd ("scsi: lpfc: NVME Target: Add debugfs 
support")

Signed-off-by: YueHaibing 
---
 drivers/scsi/lpfc/lpfc_debugfs.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/scsi/lpfc/lpfc_debugfs.c b/drivers/scsi/lpfc/lpfc_debugfs.c
index aec5b10..0c8005b 100644
--- a/drivers/scsi/lpfc/lpfc_debugfs.c
+++ b/drivers/scsi/lpfc/lpfc_debugfs.c
@@ -550,7 +550,6 @@
struct lpfc_nodelist *ndlp;
unsigned char *statep;
struct nvme_fc_local_port *localport;
-   struct lpfc_nvmet_tgtport *tgtp;
struct nvme_fc_remote_port *nrport = NULL;
struct lpfc_nvme_rport *rport;
 
@@ -654,7 +653,6 @@
"\nOutstanding IO x%x\n",  outio);
 
if (phba->nvmet_support && phba->targetport && (vport == phba->pport)) {
-   tgtp = (struct lpfc_nvmet_tgtport *)phba->targetport->private;
len += snprintf(buf + len, size - len,
"\nNVME Targetport Entry ...\n");



[Bug 201313] pm80xx mpi_ssp_completion 1883:SAS Address of IO Failure Drive:

2018-10-04 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=201313

--- Comment #4 from MasterCATZ (masterc...@hotmail.com) ---
however it might also have something to do with serial number being read wrong? 


the drive is an 
SEAGATE ST33000650NS  SM (NA01)
Serial # 500605ba00b9be18

but the logs show 

[11125.292669] pm80xx :08:00.0: dev 500605ba00b9be19 sent sense data, but
stat(28) is not CHECK CONDITION
[11125.645491] sas: Enter sas_scsi_recover_host busy: 54 failed: 54

-- 
You are receiving this mail because:
You are the assignee for the bug.