From patchwork Thu Jul 9 14:22:38 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bart Van Assche X-Patchwork-Id: 6756401 Return-Path: X-Original-To: patchwork-linux-scsi@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id DE0D39F380 for ; Thu, 9 Jul 2015 14:22:48 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 07F36205EE for ; Thu, 9 Jul 2015 14:22:48 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 0CC02205EB for ; Thu, 9 Jul 2015 14:22:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751236AbbGIOWq (ORCPT ); Thu, 9 Jul 2015 10:22:46 -0400 Received: from mail-bl2on0086.outbound.protection.outlook.com ([65.55.169.86]:43436 "EHLO na01-bl2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751081AbbGIOWp (ORCPT ); Thu, 9 Jul 2015 10:22:45 -0400 Received: from BY2PR02CA0060.namprd02.prod.outlook.com (10.141.216.50) by CY1PR0201MB0745.namprd02.prod.outlook.com (10.160.141.148) with Microsoft SMTP Server (TLS) id 15.1.207.19; Thu, 9 Jul 2015 14:22:43 +0000 Received: from BN1AFFO11FD011.protection.gbl (2a01:111:f400:7c10::112) by BY2PR02CA0060.outlook.office365.com (2a01:111:e400:2c40::50) with Microsoft SMTP Server (TLS) id 15.1.213.14 via Frontend Transport; Thu, 9 Jul 2015 14:22:42 +0000 Authentication-Results: spf=pass (sender IP is 63.163.107.173) smtp.mailfrom=sandisk.com; odin.com; dkim=none (message not signed) header.d=none; Received-SPF: Pass (protection.outlook.com: domain of sandisk.com designates 63.163.107.173 as permitted sender) receiver=protection.outlook.com; client-ip=63.163.107.173; helo=milsmgep12.sandisk.com; Received: from milsmgep12.sandisk.com (63.163.107.173) by BN1AFFO11FD011.mail.protection.outlook.com (10.58.52.71) with Microsoft SMTP Server id 15.1.213.8 via Frontend Transport; Thu, 9 Jul 2015 14:22:39 +0000 Received: from MILHUBIP04.sdcorp.global.sandisk.com ( [172.22.12.162]) by milsmgep12.sandisk.com (Symantec Messaging Gateway) with SMTP id 4D.1A.06265.FA38E955; Thu, 9 Jul 2015 07:22:39 -0700 (PDT) Received: from milsmgip12.sandisk.com (10.177.8.100) by MILHUBIP04.sdcorp.global.sandisk.com (10.177.9.97) with Microsoft SMTP Server id 14.3.224.2; Thu, 9 Jul 2015 07:22:38 -0700 X-AuditID: ac160a69-f790f6d000001879-74-559e83af1e6a Received: from [10.50.231.57] ( [10.177.8.100]) by milsmgip12.sandisk.com (Symantec Messaging Gateway) with SMTP id CD.3D.04661.EA38E955; Thu, 9 Jul 2015 07:22:39 -0700 (PDT) Message-ID: <559E83AE.8040404@sandisk.com> Date: Thu, 9 Jul 2015 07:22:38 -0700 From: Bart Van Assche User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: James Bottomley CC: Himanshu Madhani , Quinn Tran , Saurav Kashyap , "linux-scsi@vger.kernel.org" Subject: [PATCH v3 01/10] qla2xxx: Report both rsp_info and rsp_info_len References: <559E8382.6030803@sandisk.com> In-Reply-To: <559E8382.6030803@sandisk.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrOLMWRmVeSWpSXmKPExsWyRoxnke765nmhBs2n+Cxe/HjCavF//W0W i+7rO9gsrt14y2wxf+ZfVgdWj8M/fjB7rPtygt3j8ya5AOYoLpuU1JzMstQifbsEroyT55rZ Cx5wVfRv7GVpYPzK0cXIySEhYCJx5dhMNghbTOLCvfVANheHkMAJRok519tZIZztjBIXJ31n gul4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tdyo59sY9sxML3jndN33e 3zC9mPH2iQuBa/jlLhQtUltZx8x3rIBRIMNmdeo8g3lZK44XT1fRfXxmTv7K/VNY0k13JJ27 9VyI3cxlhfWyP6yW7D/v2E+Ytf53CvOe3WwcepMCYzsrlicosRRnJBpqMRcVJwIAJIQCZQIC AAA= X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD011; 1:lQsKzAiZH5P97OmlocDb2ETpqLsPm7SR0mY5l/WidZ6iQRu7d9RM6bRCx7Mi47kIrEZl1Go/QWbpKfikxGz3SIbBUjohbMFfsr+hx4YM9l1hOvsYGRJ+vGOBor2FBO8Jh4Wni7D2yB4dEC1RFi4OIv59PB90NJmQ9IgZQFDyF8BKKVMhmI6vhiKGOmierzakypGXHlcmA7KkI7/SJgHnh5HQxmvGsXiMb8sdqBRkHiQxR4yL0GpEJT8A186IAFVpWfOpjii3E3MPkSHkgewZTiOGYZsxCEEciQEpdNuD9p40xfl2Ci8nknXTSxcT68RnSrtFih0AhA+T9RYg924Nqr/J1PdXCMLjxfktUp3yR8kuwHfeMD2swyBaIkJCMd8k X-Forefront-Antispam-Report: CIP:63.163.107.173; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(2980300002)(438002)(199003)(189002)(77096005)(65816999)(54356999)(87266999)(92566002)(76176999)(36756003)(229853001)(189998001)(110136002)(33656002)(50986999)(5001960100002)(2950100001)(106466001)(77156002)(19580395003)(86362001)(4001350100001)(83506001)(87936001)(46102003)(80316001)(50466002)(64126003)(19580405001)(62966003)(65956001)(23676002); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR0201MB0745; H:milsmgep12.sandisk.com; FPR:; SPF:Pass; MLV:sfv; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0201MB0745; 2:6akERR10jdMmx87vrvkS5D003dC+zAT/dYmgu5wUPO9k2FLDk+BSCVQhjlLQN8kv; 3:OFfv4bXrkqB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hjxDO/CTR29nA9iEzFEGRK7qEGxSoSpmpBiGkGdJOCn1iNGZSdcYDs2esu1jDgdIsD; 4:z8vGI1tnzaxIX8X51+VGf4ZFc03ByJDQqLvpzXcS4GyPhox0ajUZZOb72O4tFVSHYfEOR9WGxEB5JuQeYMjoUQTwgnZ0+CifKd4D7DO/tU+OsJ+9egpHrUdyVNNPsRLs6bWJ4C6YjzMPHZL13LVRk3ZpO8+tQ4irHcM+70DV1igDIEoMMGYJKA1tleEv/DxYGBspeRkARqORn2wzH3mkron4fnIGibagrQmEyDWqlvU7lvUNQk9HpdkhjQ5yaERA213JenKpbZU7wuakvyYUv4lzsVn4y/SX7Wq7T/86llk= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(5005006)(3002001); SRVR:CY1PR0201MB0745; BCL:0; PCL:0; RULEID:; SRVR:CY1PR0201MB0745; X-Forefront-PRVS: 0632519F33 X-Microsoft-Exchange-Diagnostics: 1; CY1PR0201MB0745; 23:7Q1xCB93B8emmqT3ZJ+n1l7KzxDqq36ZGh34NucCiqJC3mB/erfEm2PMjNQEsQ9SmVUGEM+wLVZ1yGypjXkH2Nh4rCL6DJPBKryGClTkzl8b8CX1eR+aKP4Q0MdJsfje4XQ8YJbvnfxCunIrXAl4sTfHEimSi/GiXmCBrNa0nh+rpbtGH5iYSda7SQOA470iWSWNsCzY+YzwAMv9R/7NPrZI7PSNs7A7BSPdcjePZBibqiwKvTHjjSme2AUHG63oIKUGk8in/Ys9JtqNOYE0wPm1yG7gwVBHlmv+uR5riCCkvI8l3r8xWreOlSiN1x/mADVcgV63LKLT1lYkgyhmt9j0UHGOG8KV6k3cm4enL+lnRiBeQKEE9wuAk2NOnP+vVksd1JTm4na/LbG1LPuHM8T71uV0a2k0JNMEnt28S2uPwL7dxuPITBoUEruspHvwppYTyqMVfV3cTL0l3xc5p7WRLKebAR2aX0NC9VxY4Tkoe1sSTp/bPUUoiZWdocbdrBIB59g6aphydeFvRjdxGN0mgrhNPtpTgR/mJs6U6lADSUYFcnxHeoEI+4QdJaR5wLsWv8ZOAXVzL41I0IHjKp0H0+8vTaRBWfMt0w21PmAPaF+Z38EwpQuDGjZ2fQEEqklqm4K3VK4spI7j+9jphP/Y0tQ5IRXAYwjYXj+FUy2NcVXmYNwjsoQ7nCjAoROrgfjhct/0OS/5LAbumWOBHtwLIl8kGCgfU9jk660VBF5mtd3wNFYOufnTVaQac961eQc6pu2ldyMbOq+JmN3NwyTbo8WSyBEyAkw8vbqwDEMxeHtXWe3+wAlRkdAz2GuVVHhRM3rvIs2vq/7idbjSh3a1p/rNnO+D0g3+xGKB2tu0rgwHSXLMaBnasRSaP0EUVQmU1gzhqfpdR7f53Jf7UQ== X-Microsoft-Exchange-Diagnostics: 1; CY1PR0201MB0745; 5:IFnpmqn5xTKE48Hy6FmzIp4tKg/TSscTRLvHPlLEpI7jdpQxeUh/4HIKLvzxvW2PGik6asmmXvsP/VdUKulggmznm6WmggAISqPBuG2LIuNvKXr75iAt+JXATKwupIT+m2ByrPn2IQeG6yeDlhoaCg==; 24:rJMNuqMsFzoIF0k3ufUeRLKXSI1hjVygOgheu/AxE6n5ApNbloTaOkREUeA30c9UnWL9mthLRGFaRKRFrwrAu2mWEnu513j0HXp72s/o8/Q=; 20:GllbZcgl3YkaqImmYLIEmwXICHIimFX8X93mofhxKjz0ngJIljGHsfJ8ZaZ22suLk1pY1/Ji4f+iN8eejgryEc2u7xPxbcH6M0yMaOj/M3VOI7ypTGWN0bKwUtnKtRcYCk/Z2Hh+VH7xh6Cf2BlZC99sSsmhJAqxbny2tJg824Q= X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Jul 2015 14:22:39.5176 (UTC) X-MS-Exchange-CrossTenant-Id: fcd9ea9c-ae8c-460c-ab3c-3db42d7ac64d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=fcd9ea9c-ae8c-460c-ab3c-3db42d7ac64d; Ip=[63.163.107.173]; Helo=[milsmgep12.sandisk.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR0201MB0745 Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org X-Spam-Status: No, score=-7.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Let the debug statement in qlafx00_tm_iocb_entry() report both rsp_info and rsp_info_len instead of reporting rsp_info_len twice. Signed-off-by: Bart Van Assche Acked-by: Himanshu Madhani Cc: Quinn Tran Cc: Saurav Kashyap --- drivers/scsi/qla2xxx/qla_mr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/qla2xxx/qla_mr.c b/drivers/scsi/qla2xxx/qla_mr.c index 6d190b4..878fd3d 100644 --- a/drivers/scsi/qla2xxx/qla_mr.c +++ b/drivers/scsi/qla2xxx/qla_mr.c @@ -2528,12 +2528,12 @@ check_scsi_status: ql_dbg(ql_dbg_io, fcport->vha, 0x3058, "FCP command status: 0x%x-0x%x (0x%x) nexus=%ld:%d:%llu " "tgt_id: 0x%x lscsi_status: 0x%x cdb=%10phN len=0x%x " - "rsp_info=0x%x resid=0x%x fw_resid=0x%x sense_len=0x%x, " + "rsp_info=%p resid=0x%x fw_resid=0x%x sense_len=0x%x, " "par_sense_len=0x%x, rsp_info_len=0x%x\n", comp_status, scsi_status, res, vha->host_no, cp->device->id, cp->device->lun, fcport->tgt_id, lscsi_status, cp->cmnd, scsi_bufflen(cp), - rsp_info_len, resid_len, fw_resid_len, sense_len, + rsp_info, resid_len, fw_resid_len, sense_len, par_sense_len, rsp_info_len); if (rsp->status_srb == NULL)