On 11/04/2012 10:15 PM, Xi Wang wrote:
The dereference rport->data should come after the NULL check of rport.
Signed-off-by: Xi Wang
---
drivers/scsi/bnx2fc/bnx2fc_io.c |3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/scsi/bnx2fc/bnx2fc_io.c b/drivers/scsi/bnx
The dereference rport->data should come after the NULL check of rport.
Signed-off-by: Xi Wang
---
drivers/scsi/bnx2fc/bnx2fc_io.c |3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/scsi/bnx2fc/bnx2fc_io.c b/drivers/scsi/bnx2fc/bnx2fc_io.c
index 8d4626c..eebe93c 1006
2 matches
Mail list logo